rep_header_logo.png rep_header_3.png
User configuration:  MISRA-Mandatory_Required
2021-04-14T15:17:50+05:30

STATIC ANALYSIS

Project Name
 
 Tasks   Files  Lines
suppressed qfix total per 10,000 lines checked total checked total
 optee_os_MISRA  1169  11926  1530   373  373   77947  77947 
 Total [0:01:45]  1169   0   11926   1530  373  373  77947  77947 

 
All Tasks by Category
by:   Category   Severity   
  [11]   Metric (METRIC) 
        [11]   McCabe Cyclomatic Complexity (METRIC.CC-3) 
  [43]   Rule 11.3 (Required) A cast shall not be performed between a pointer to object type and a pointer to a different object type (MISRAC2012-RULE_11_3) 
        [43]   A cast shall not be performed between a pointer to object type and a pointer to a different object type (MISRAC2012-RULE_11_3-a-2) 
  [176]   Rule 20.12 (Required) A macro parameter used as an operand to the # or ## operators, which is itself subject to further macro replacement, shall only be used as an operand to these operators (MISRAC2012-RULE_20_12) 
        [176]   A macro parameter used as an operand to the # or ## operators, which is itself subject to further macro replacement, shall only be used as an operand to these operators (MISRAC2012-RULE_20_12-a-2) 
  [406]   Rule 8.6 (Required) An identifier with external linkage shall have exactly one external definition (MISRAC2012-RULE_8_6) 
        [406]   An identifier with external linkage shall have exactly one external definition (MISRAC2012-RULE_8_6-a-2) 
  [96]   Rule 8.3 (Required) All declarations of an object or function shall use the same names and type qualifiers (MISRAC2012-RULE_8_3) 
        [5]   If objects or functions are declared more than once their types shall be compatible (MISRAC2012-RULE_8_3-a-2) 
        [87]   The identifiers used in the declaration and definition of a function shall be identical (MISRAC2012-RULE_8_3-b-2) 
        [4]   All declarations of an object or function shall have compatible types (MISRAC2012-RULE_8_3-c-2) 
  [155]   Rule 11.6 (Required) A cast shall not be performed between pointer to void and an arithmetic type (MISRAC2012-RULE_11_6) 
        [155]   A cast shall not be performed between pointer to void and an arithmetic type (MISRAC2012-RULE_11_6-a-2) 
  [16]   Rule 15.2 (Required) The goto statement shall jump to a label declared later in the same function (MISRAC2012-RULE_15_2) 
        [16]   The goto statement shall jump to a label declared later in the same function body (MISRAC2012-RULE_15_2-a-2) 
  [54]   Rule 8.4 (Required) A compatible declaration shall be visible when an object or function with external linkage is defined (MISRAC2012-RULE_8_4) 
        [49]   A declaration shall be visible when an object or function with external linkage is defined (MISRAC2012-RULE_8_4-a-2) 
        [5]   If objects or functions are declared more than once their types shall be compatible (MISRAC2012-RULE_8_4-b-2) 
  [5]   Rule 15.3 (Required) Any label referenced by a goto statement shall be declared in the same block, or in any block enclosing the goto statement (MISRAC2012-RULE_15_3) 
        [5]   Any label referenced by a goto statement shall be declared in the same block, or in a block enclosing the goto statement (MISRAC2012-RULE_15_3-a-2) 
  [38]   Rule 11.8 (Required) A cast shall not remove any const or volatile qualification from the type pointed to by a pointer (MISRAC2012-RULE_11_8) 
        [38]   A cast shall not remove any 'const' or 'volatile' qualification from the type of a pointer or reference (MISRAC2012-RULE_11_8-a-2) 
  [70]   Rule 11.9 (Required) The macro NULL shall be the only permitted form of integer null pointer constant (MISRAC2012-RULE_11_9) 
        [6]   Literal zero (0) shall not be used as the null-pointer-constant (MISRAC2012-RULE_11_9-a-2) 
        [64]   Use NULL instead of literal zero (0) as the null-pointer-constant (MISRAC2012-RULE_11_9-b-2) 
  [1107]   Rule 15.6 (Required) The body of an iteration-statement or a selection-statement shall be a compound-statement (MISRAC2012-RULE_15_6) 
        [107]   The statement forming the body of a 'switch', 'while', 'do...while' or 'for' statement shall be a compound statement (MISRAC2012-RULE_15_6-a-2) 
        [1000]   'if' and 'else' should be followed by a compound statement (MISRAC2012-RULE_15_6-b-2) 
  [26]   Rule 15.7 (Required) All if ... else if constructs shall be terminated with an else statement (MISRAC2012-RULE_15_7) 
        [26]   All 'if...else-if' constructs shall be terminated with an 'else' clause (MISRAC2012-RULE_15_7-a-2) 
  [196]   Dir 4.12 (Required) Dynamic memory allocation shall not be used (MISRAC2012-DIR_4_12) 
        [196]   Dynamic heap memory allocation shall not be used (MISRAC2012-DIR_4_12-a-2) 
  [9]   Dir 4.10 (Required) Precautions shall be taken in order to prevent the contents of a header file being included more than once (MISRAC2012-DIR_4_10) 
        [9]   Use multiple include guards (MISRAC2012-DIR_4_10-a-2) 
  [1]   Rule 4.1 (Required) Octal and hexadecimal escape sequences shall be terminated (MISRAC2012-RULE_4_1) 
        [1]   Octal and hexadecimal escape sequences shall be terminated (MISRAC2012-RULE_4_1-a-2) 
  [16]   Rule 8.2 (Required) Function types shall be in prototype form with named parameters (MISRAC2012-RULE_8_2) 
        [2]   Identifiers shall be given for all of the parameters in a function prototype declaration (MISRAC2012-RULE_8_2-a-2) 
        [8]   Function types shall have named parameters (MISRAC2012-RULE_8_2-b-2) 
        [6]   Function types shall be in prototype form (MISRAC2012-RULE_8_2-c-2) 
  [115]   Rule 11.1 (Required) Conversions shall not be performed between a pointer to a function and any other type (MISRAC2012-RULE_11_1) 
        [29]   Conversions shall not be performed between a pointer to a function and any other type than pointer to function (MISRAC2012-RULE_11_1-a-2) 
        [86]   Conversions shall not be performed between non compatible pointer to a function types (MISRAC2012-RULE_11_1-b-2) 
  [90]   Rule 11.2 (Required) Conversions shall not be performed between a pointer to an incomplete type and any other type (MISRAC2012-RULE_11_2) 
        [90]   Conversions shall not be performed between a pointer to an incomplete type and any other type (MISRAC2012-RULE_11_2-a-2) 
  [1]   Rule 22.1 (Required) All resources obtained dynamically by means of Standard Library functions shall be explicitly released (MISRAC2012-RULE_22_1) 
        [1]   Ensure resources are freed (MISRAC2012-RULE_22_1-a-2) 
  [1009]   Rule 10.4 (Required) Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category (MISRAC2012-RULE_10_4) 
        [1000]   Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category (MISRAC2012-RULE_10_4-a-2) 
        [9]   The second and third operands of the ternary operator shall have the same essential type category (MISRAC2012-RULE_10_4-b-2) 
  [32]   Rule 10.6 (Required) The value of a composite expression shall not be assigned to an object with wider essential type (MISRAC2012-RULE_10_6) 
        [32]   The value of a composite expression shall not be assigned to an object with wider essential type (MISRAC2012-RULE_10_6-a-2) 
  [72]   Rule 14.2 (Required) A for loop shall be well-formed (MISRAC2012-RULE_14_2) 
        [5]   There shall only be one loop counter in a 'for' loop, which shall not be modified in the 'for' loop body (MISRAC2012-RULE_14_2-a-2) 
        [20]   The first clause of a 'for' loop shall be well-formed (MISRAC2012-RULE_14_2-b-2) 
        [20]   The second clause of a 'for' loop shall be well-formed (MISRAC2012-RULE_14_2-c-2) 
        [27]   The third clause of a 'for' statement shall be well-formed (MISRAC2012-RULE_14_2-d-2) 
  [25]   Rule 10.7 (Required) If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then the other operand shall not have wider essential type (MISRAC2012-RULE_10_7) 
        [25]   If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then the other operand shall not have wider essential type (MISRAC2012-RULE_10_7-a-2) 
  [37]   Rule 14.3 (Required) Controlling expressions shall not be invariant (MISRAC2012-RULE_14_3) 
        [20]   Avoid conditions that always evaluate to the same value (MISRAC2012-RULE_14_3-ac-2) 
        [17]   Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-i-2) 
  [9]   Rule 10.8 (Required) The value of a composite expression shall not be cast to a different essential type category or a wider essential type (MISRAC2012-RULE_10_8) 
        [9]   The value of a composite expression shall not be cast to a different essential type category or a wider essential type (MISRAC2012-RULE_10_8-a-2) 
  [910]   Rule 14.4 (Required) The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Boolean type (MISRAC2012-RULE_14_4) 
        [910]   Tests of a value against zero should be made explicit, unless the operand is effectively Boolean (MISRAC2012-RULE_14_4-a-2) 
  [3]   Rule 18.1 (Required) A pointer resulting from arithmetic on a pointer operand shall address an element of the same array as that pointer operand (MISRAC2012-RULE_18_1) 
        [3]   A pointer operand and any pointer resulting from pointer arithmetic using that operand shall both address elements of the same array (MISRAC2012-RULE_18_1-c-2) 
  [1]   Rule 18.2 (Required) Subtraction between pointers shall only be applied to pointers that address elements of the same array (MISRAC2012-RULE_18_2) 
        [1]   Do not subtract two pointers that do not address elements of the same array (MISRAC2012-RULE_18_2-a-2) 
  [8]   Rule 18.3 (Required) The relational operators >, >=, < and <= shall not be applied to objects of pointer type except where they point into the same object (MISRAC2012-RULE_18_3) 
        [8]   Do not compare two unrelated pointers (MISRAC2012-RULE_18_3-a-2) 
  [2]   Rule 18.6 (Required) The address of an object with automatic storage shall not be copied to another object that persists after the first object has ceased to exist (MISRAC2012-RULE_18_6) 
        [2]   The address of an object with automatic storage shall not be returned from a function (MISRAC2012-RULE_18_6-a-2) 
  [9]   Rule 18.7 (Required) Flexible array members shall not be declared (MISRAC2012-RULE_18_7) 
        [9]   Flexible array members shall not be declared (MISRAC2012-RULE_18_7-a-2) 
  [10]   Rule 18.8 (Required) Variable-length array types shall not be used (MISRAC2012-RULE_18_8) 
        [10]   Variable-length array types shall not be used (MISRAC2012-RULE_18_8-a-2) 
  [2]   Rule 3.1 (Required) The character sequences /* and // shall not be used within a comment (MISRAC2012-RULE_3_1) 
        [2]   The character sequence // shall not be used within a C-style comment (MISRAC2012-RULE_3_1-b-2) 
  [1000]   Rule 7.2 (Required) A "u" or "U" suffix shall be applied to all integer constants that are represented in an unsigned type (MISRAC2012-RULE_7_2) 
        [1000]   A 'U' suffix shall be applied to all constants of unsigned type (MISRAC2012-RULE_7_2-a-2) 
  [2059]   Rule 10.1 (Required) Operands shall not be of an inappropriate essential type (MISRAC2012-RULE_10_1) 
        [1000]   An expression of essentially Boolean type should always be used where an operand is interpreted as a Boolean value (MISRAC2012-RULE_10_1-a-2) 
        [10]   An operand of essentially Boolean type should not be used where an operand is interpreted as a numeric value (MISRAC2012-RULE_10_1-b-2) 
        [2]   An operand of essentially character type should not be used where an operand is interpreted as a numeric value (MISRAC2012-RULE_10_1-c-2) 
        [20]   An operand of essentially enum type should not be used in an arithmetic operation (MISRAC2012-RULE_10_1-d-2) 
        [1000]   Shift and bitwise operations should not be performed on operands of essentially signed or enum type (MISRAC2012-RULE_10_1-e-2) 
        [25]   An operand of essentially signed or enum type should not be used as the right hand operand to the bitwise shifting operator (MISRAC2012-RULE_10_1-f-2) 
        [2]   An operand of essentially unsigned type should not be used as the operand to the unary minus operator (MISRAC2012-RULE_10_1-g-2) 
  [6]   Rule 7.3 (Required) The lowercase character "l" shall not be used in a literal suffix (MISRAC2012-RULE_7_3) 
        [6]   Use capital 'L' instead of lowercase 'l' to indicate long (MISRAC2012-RULE_7_3-a-2) 
  [8]   Rule 10.2 (Required) Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations (MISRAC2012-RULE_10_2) 
        [8]   Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations (MISRAC2012-RULE_10_2-a-2) 
  [1069]   Rule 10.3 (Required) The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category (MISRAC2012-RULE_10_3) 
        [513]   The value of an expression shall not be assigned to an object with a narrower essential type (MISRAC2012-RULE_10_3-a-2) 
        [556]   The value of an expression shall not be assigned to an object of a different essential type category (MISRAC2012-RULE_10_3-b-2) 
  [15]   Rule 21.6 (Required) The Standard Library input/output functions shall not be used (MISRAC2012-RULE_21_6) 
        [15]   The Standard Library input/output functions shall not be used (MISRAC2012-RULE_21_6-a-2) 
  [8]   Rule 21.8 (Required) The Standard Library termination functions of <stdlib.h> shall not be used (MISRAC2012-RULE_21_8) 
        [8]   The 'abort()' function from the 'stdlib.h' or 'cstdlib' library shall not be used (MISRAC2012-RULE_21_8-a-2) 
  [4]   Rule 21.9 (Required) The library functions bsearch and qsort of <stdlib.h> shall not be used (MISRAC2012-RULE_21_9) 
        [4]   The library functions bsearch and qsort of <stdlib.h> shall not be used (MISRAC2012-RULE_21_9-a-2) 
  [7]   Rule 21.18 (Mandatory) The size_t argument passed to any function in <string.h> shall have an appropriate value (MISRAC2012-RULE_21_18) 
        [7]   The size_t argument passed to any function in string.h shall have an appropriate value (MISRAC2012-RULE_21_18-a-1) 
  [36]   Rule 21.16 (Required) The pointer arguments to the Standard Library function memcmp shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type (MISRAC2012-RULE_21_16) 
        [36]   The pointer arguments to the Standard Library function 'memcmp' shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type (MISRAC2012-RULE_21_16-a-2) 
  [39]   Rule 21.15 (Required) The pointer arguments to the Standard Library functions memcpy, memmove and memcmp shall be pointers to qualified or unqualified versions of compatible types (MISRAC2012-RULE_21_15) 
        [39]   The pointer arguments to the Standard Library functions 'memcmp', 'memmove' and 'memcmp' shall be pointers to qualified or unqualified versions of compatible types (MISRAC2012-RULE_21_15-a-2) 
  [347]   Rule 21.1 (Required) #define and #undef shall not be used on a reserved identifier or reserved macro name (MISRAC2012-RULE_21_1) 
        [225]   Do not #define or #undef identifiers with names which start with underscore (MISRAC2012-RULE_21_1-a-2) 
        [7]   Reserved identifiers, macros and functions in the standard library, shall not be defined, redefined or undefined (C90 code) (MISRAC2012-RULE_21_1-b-2) 
        [115]   Reserved identifiers, macros and functions in the standard library, shall not be defined, redefined or undefined (C99 code) (MISRAC2012-RULE_21_1-c-2) 
  [634]   Rule 21.2 (Required) A reserved identifier or macro name shall not be declared (MISRAC2012-RULE_21_2) 
        [634]   The names of standard library macros, objects and functions shall not be reused (MISRAC2012-RULE_21_2-a-2) 
  [196]   Rule 21.3 (Required) The memory allocation and deallocation functions of <stdlib.h> shall not be used (MISRAC2012-RULE_21_3) 
        [196]   Dynamic heap memory allocation shall not be used (MISRAC2012-RULE_21_3-a-2) 
  [10]   Rule 13.5 (Required) The right hand operand of a logical && or || operator shall not contain persistent side effects (MISRAC2012-RULE_13_5) 
        [10]   The right-hand operand of a logical && or || operator shall not contain side effects (MISRAC2012-RULE_13_5-a-2) 
  [134]   Rule 17.1 (Required) The features of <stdarg.h> shall not be used (MISRAC2012-RULE_17_1) 
        [67]   The identifiers va_list, va_arg, va_start, va_end, va_copy should not be used (MISRAC2012-RULE_17_1-a-2) 
        [67]   The identifiers va_list, va_arg, va_start, va_end should not be used (MISRAC2012-RULE_17_1-b-2) 
  [8]   Rule 17.2 (Required) Functions shall not call themselves, either directly or indirectly (MISRAC2012-RULE_17_2) 
        [8]   Functions shall not call themselves, either directly or indirectly (MISRAC2012-RULE_17_2-a-2) 
  [4]   Rule 17.4 (Mandatory) All exit paths from a function with non-void return type shall have an explicit return statement with an expression (MISRAC2012-RULE_17_4) 
        [4]   All exit paths from a function with non-void return type shall have an explicit return statement with an expression (MISRAC2012-RULE_17_4-a-1) 
  [280]   Rule 17.7 (Required) The value returned by a function having non-void return type shall be used (MISRAC2012-RULE_17_7) 
        [274]   The value returned by a function having non-void return type shall be used (MISRAC2012-RULE_17_7-a-2) 
        [6]   The value returned by a function having non-void return type shall be used (MISRAC2012-RULE_17_7-b-2) 
  [6]   Rule 2.1 (Required) A project shall not contain unreachable code (MISRAC2012-RULE_2_1) 
        [5]   There shall be no unreachable code in "if/else/while/for" block (MISRAC2012-RULE_2_1-c-2) 
        [1]   There shall be no unreachable code after 'if' or 'switch' statement (MISRAC2012-RULE_2_1-f-2) 
  [21]   Rule 2.2 (Required) There shall be no dead code (MISRAC2012-RULE_2_2) 
        [21]   Avoid unused values (MISRAC2012-RULE_2_2-b-2) 
  [325]   Rule 20.7 (Required) Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses (MISRAC2012-RULE_20_7) 
        [325]   In the definition of a function-like macro each instance of a parameter shall be enclosed in parentheses unless it is used as the operand of # or ## (MISRAC2012-RULE_20_7-a-2) 
  [14]   Rule 20.9 (Required) All identifiers used in the controlling expression of #if or #elif preprocessing directives shall be #define'd before evaluation (MISRAC2012-RULE_20_9) 
        [14]   Do not use in preprocessor directives #if and #elif macros not defined in translation unit (MISRAC2012-RULE_20_9-b-2) 
  [19]   Rule 5.8 (Required) Identifiers that define objects or functions with external linkage shall be unique (MISRAC2012-RULE_5_8) 
        [19]   Identifiers that define objects or functions with external linkage shall be unique (MISRAC2012-RULE_5_8-a-2) 
  [6]   Rule 9.5 (Required) Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly (MISRAC2012-RULE_9_5) 
        [6]   Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly (MISRAC2012-RULE_9_5-a-2) 
  [113]   Rule 16.1 (Required) All switch statements shall be well-formed (MISRAC2012-RULE_16_1) 
        [26]   An unconditional break statement shall terminate every non-empty case clause (MISRAC2012-RULE_16_1-c-2) 
        [24]   An unconditional break statement shall terminate every non-empty default clause (MISRAC2012-RULE_16_1-d-2) 
        [37]   A 'default' label shall have a statement or a comment before terminating 'break' (MISRAC2012-RULE_16_1-f-2) 
        [26]   Every switch statement shall have at least two switch-clauses (MISRAC2012-RULE_16_1-h-2) 
  [212]   Rule 5.7 (Required) A tag name shall be a unique identifier (MISRAC2012-RULE_5_7) 
        [212]   A tag name shall not be reused for other purpose within the program (MISRAC2012-RULE_5_7-a-2) 
  [7]   Rule 9.3 (Required) Arrays shall not be partially initialized (MISRAC2012-RULE_9_3) 
        [7]   Arrays shall not be partially initialized (MISRAC2012-RULE_9_3-a-2) 
  [50]   Rule 16.3 (Required) An unconditional break statement shall terminate every switch-clause (MISRAC2012-RULE_16_3) 
        [26]   An unconditional break statement shall terminate every non-empty case clause (MISRAC2012-RULE_16_3-a-2) 
        [24]   An unconditional break statement shall terminate every non-empty default clause (MISRAC2012-RULE_16_3-b-2) 
  [37]   Rule 16.4 (Required) Every switch statement shall have a default label (MISRAC2012-RULE_16_4) 
        [37]   A 'default' label shall have a statement or a comment before terminating 'break' (MISRAC2012-RULE_16_4-b-2) 
  [26]   Rule 16.6 (Required) Every switch statement shall have at least two switch-clauses (MISRAC2012-RULE_16_6) 
        [26]   Every switch statement shall have at least two switch-clauses (MISRAC2012-RULE_16_6-a-2) 
  [9]   Dir 4.7 (Required) If a function returns error information, then that error information shall be tested (MISRAC2012-DIR_4_7) 
        [9]   Consistently check the returned value of non-void functions (MISRAC2012-DIR_4_7-a-2) 
  [24]   Dir 4.1 (Required) Run-time failures shall be minimized (MISRAC2012-DIR_4_1) 
        [5]   Avoid null pointer dereferencing (MISRAC2012-DIR_4_1-b-2) 
        [2]   Do not check for null after dereferencing (MISRAC2012-DIR_4_1-f-2) 
        [1]   Do not subtract two pointers that do not address elements of the same array (MISRAC2012-DIR_4_1-i-2) 
        [8]   Do not compare two unrelated pointers (MISRAC2012-DIR_4_1-j-2) 
        [8]   Avoid integer overflows (MISRAC2012-DIR_4_1-k-2) 
  [1]   Dir 4.3 (Required) Assembly language shall be encapsulated and isolated (MISRAC2012-DIR_4_3) 
        [1]   Assembly language shall be encapsulated and isolated (MISRAC2012-DIR_4_3-a-2) 
  [1]   Rule 8.14 (Required) The restrict type qualifier shall not be used (MISRAC2012-RULE_8_14) 
        [1]   The restrict type qualifier shall not be used (MISRAC2012-RULE_8_14-a-2) 
  [1]   Rule 1.1 (Required) The program shall contain no violations of the standard C syntax and constraints, and shall not exceed the implementation's translation limits (MISRAC2012-RULE_1_1) 
        [1]   A program should not exceed the translation limits imposed by The Standard (c90) (MISRAC2012-RULE_1_1-a-2) 
  [38]   Rule 1.4 (Required) Emergent language features shall not be used (MISRAC2012-RULE_1_4) 
        [23]   The '_Noreturn' function specifier should not be used (MISRAC2012-RULE_1_4-b-2) 
        [15]   The '_Alignas' alignment specifier and the '_Alignof' operator should not be used (MISRAC2012-RULE_1_4-h-2) 
  [98]   Rule 5.1 (Required) External identifiers shall be distinct (MISRAC2012-RULE_5_1) 
        [98]   External identifiers shall be distinct (MISRAC2012-RULE_5_1-a-2) 
  [23]   Rule 1.3 (Required) There shall be no occurrence of undefined or critical unspecified behaviour (MISRAC2012-RULE_1_3) 
        [2]   The address of an object with automatic storage shall not be returned from a function (MISRAC2012-RULE_1_3-m-2) 
        [21]   The left-hand operand of a right-shift operator shall not have a negative value (MISRAC2012-RULE_1_3-o-2) 
  [35]   Rule 5.4 (Required) Macro identifiers shall be distinct (MISRAC2012-RULE_5_4) 
        [35]   The name of a macro should be distinct from the names of other macros that are currently defined(c90) (MISRAC2012-RULE_5_4-c-2) 
  [68]   Rule 5.5 (Required) Identifiers shall be distinct from macro names (MISRAC2012-RULE_5_5) 
        [34]   The names of macros that exist prior to preprocessing should be distinct from the identifiers that exist after preprocessing (c90) (MISRAC2012-RULE_5_5-a-2) 
        [34]   The names of macros that exist prior to preprocessing should be distinct from the identifiers that exist after preprocessing (c99) (MISRAC2012-RULE_5_5-b-2) 
  [168]   Rule 5.3 (Required) An identifier declared in an inner scope shall not hide an identifier declared in an outer scope (MISRAC2012-RULE_5_3) 
        [167]   Identifier declared in a local or function prototype scope shall not hide an identifier declared in a global or namespace scope (MISRAC2012-RULE_5_3-a-2) 
        [1]   Identifiers declared in an inner local scope should not hide identifiers declared in an outer local scope (MISRAC2012-RULE_5_3-b-2) 

Tasks by Author
Back to Top    
Author  Tasks
suppressed Total recommended
 ruchika   1169   11926   50 

ruchika  Total Tasks :  11926 Back to Top    
/optee_os_MISRA/arm_core/ldelf_hex.c
4:  Declaration of object 'ldelf_data' does not precede its definition MISRAC2012-RULE_8_4-a-2
4:  More than 32767 bytes in an object: 32768 MISRAC2012-RULE_1_1-a-2
4:  The 'ldelf_data' object has incompatible declarations in other translation units MISRAC2012-RULE_8_3-c-2
4:  The array of type 'const uint8_t [32768]' shall not be partially initialized MISRAC2012-RULE_9_3-a-2
3927:  Declaration of object 'ldelf_code_size' does not precede its definition MISRAC2012-RULE_8_4-a-2
3928:  Declaration of object 'ldelf_data_size' does not precede its definition MISRAC2012-RULE_8_4-a-2
3929:  Declaration of object 'ldelf_entry' does not precede its definition MISRAC2012-RULE_8_4-a-2
3929:  The 'ldelf_entry' object has incompatible declarations in other translation units MISRAC2012-RULE_8_3-c-2
/optee_os_MISRA/arm_core/ta_pub_key.c
4:  Declaration of object 'ta_pub_key_exponent' does not precede its definition MISRAC2012-RULE_8_4-a-2
6:  Declaration of object 'ta_pub_key_modulus' does not precede its definition MISRAC2012-RULE_8_4-a-2
40:  Declaration of object 'ta_pub_key_modulus_size' does not precede its definition MISRAC2012-RULE_8_4-a-2
/optee_os_MISRA/ext/arch/arm/auxval.c
8:  Reserved name '__getauxval' used MISRAC2012-RULE_21_2-a-2
9:  Reserved name '__getauxval' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/ext/consttime_memcmp.c
43:  Operands of the '!=' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
43:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
50:  Composite expression with 'unsigned' essential type category shall not be cast to different essential type category 'signed' MISRAC2012-RULE_10_8-a-2
50:  Composite expression with 'unsigned' essential type category shall not be cast to different essential type category 'signed' MISRAC2012-RULE_10_8-a-2
/optee_os_MISRA/ext/include/atomic.h
7:  Do not use reserved identifiers : __ATOMIC_H MISRAC2012-RULE_21_1-a-2
12:  The 'atomic_inc32' function has no definition MISRAC2012-RULE_8_6-a-2
13:  The 'atomic_dec32' function has no definition MISRAC2012-RULE_8_6-a-2
28:  The expression of the 'essentially unsigned' type is returned from function 'atomic_load_int' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
33:  The expression of the 'essentially unsigned' type is returned from function 'atomic_load_short' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
48:  The argument number '2' ('essentially signed' type) is passed to the function '__atomic_store_4' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
53:  The argument number '2' ('essentially signed' type) is passed to the function '__atomic_store_2' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/ext/include/bitstring.h
37:  Do not use reserved identifiers : _SYS_BITSTRING_H_ MISRAC2012-RULE_21_1-a-2
43:  Do not use reserved identifiers : _bit_byte MISRAC2012-RULE_21_1-a-2
47:  Do not use reserved identifiers : _bit_mask MISRAC2012-RULE_21_1-a-2
123:  Each instance of parameter: 'nbits' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
142:  Each instance of parameter: 'nbits' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/ext/include/compiler.h
18:  Do not use reserved identifiers : __deprecated MISRAC2012-RULE_21_1-a-2
20:  Do not use reserved identifiers : __packed MISRAC2012-RULE_21_1-a-2
22:  Do not use reserved identifiers : __weak MISRAC2012-RULE_21_1-a-2
24:  Do not use reserved identifiers : __noreturn MISRAC2012-RULE_21_1-a-2
26:  Do not use reserved identifiers : __pure MISRAC2012-RULE_21_1-a-2
27:  Do not use reserved identifiers : __aligned MISRAC2012-RULE_21_1-a-2
28:  Do not use reserved identifiers : __printf MISRAC2012-RULE_21_1-a-2
28:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
28:  Each instance of parameter: 'b' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
29:  Do not use reserved identifiers : __noinline MISRAC2012-RULE_21_1-a-2
30:  Do not use reserved identifiers : __attr_const MISRAC2012-RULE_21_1-a-2
32:  Do not use reserved identifiers : __unused MISRAC2012-RULE_21_1-a-2
34:  Do not use reserved identifiers : __maybe_unused MISRAC2012-RULE_21_1-a-2
36:  Do not use reserved identifiers : __used MISRAC2012-RULE_21_1-a-2
38:  Do not use reserved identifiers : __must_check MISRAC2012-RULE_21_1-a-2
39:  Do not use reserved identifiers : __cold MISRAC2012-RULE_21_1-a-2
40:  Do not use reserved identifiers : __section MISRAC2012-RULE_21_1-a-2
41:  Do not use reserved identifiers : __data MISRAC2012-RULE_21_1-a-2
42:  Do not use reserved identifiers : __bss MISRAC2012-RULE_21_1-a-2
44:  Do not use reserved identifiers : __SECTION_FLAGS_RODATA MISRAC2012-RULE_21_1-a-2
46:  Do not embed "//" comment marker inside C-style comment: /* * Override sections flags/type generated by the C compiler to make sure they * are: "a",%progbits (thus creating an allocatable, non-writeable, non- * executable data section). * The trailing '//' comments out the flags generated by the compiler. * This avoids a harmless warning with GCC. */ MISRAC2012-RULE_3_1-b-2
53:  Do not use reserved identifiers : __SECTION_FLAGS_RODATA MISRAC2012-RULE_21_1-a-2
55:  Do not use reserved identifiers : __rodata MISRAC2012-RULE_21_1-a-2
56:  Do not use reserved identifiers : __rodata_unpaged MISRAC2012-RULE_21_1-a-2
58:  Do not use reserved identifiers : __nex_bss MISRAC2012-RULE_21_1-a-2
59:  Do not use reserved identifiers : __nex_data MISRAC2012-RULE_21_1-a-2
61:  Do not use reserved identifiers : __nex_bss MISRAC2012-RULE_21_1-a-2
62:  Do not use reserved identifiers : __nex_data MISRAC2012-RULE_21_1-a-2
64:  Do not use reserved identifiers : __noprof MISRAC2012-RULE_21_1-a-2
65:  Do not use reserved identifiers : __nostackcheck MISRAC2012-RULE_21_1-a-2
67:  Do not use reserved identifiers : __compiler_bswap64 MISRAC2012-RULE_21_1-a-2
68:  Do not use reserved identifiers : __compiler_bswap32 MISRAC2012-RULE_21_1-a-2
69:  Do not use reserved identifiers : __compiler_bswap16 MISRAC2012-RULE_21_1-a-2
71:  Do not use reserved identifiers : __GCC_VERSION MISRAC2012-RULE_21_1-a-2
75:  Do not use reserved identifiers : __HAVE_BUILTIN_OVERFLOW MISRAC2012-RULE_21_1-a-2
79:  Do not use reserved identifiers : __compiler_add_overflow MISRAC2012-RULE_21_1-a-2
82:  Do not use reserved identifiers : __compiler_sub_overflow MISRAC2012-RULE_21_1-a-2
85:  Do not use reserved identifiers : __compiler_mul_overflow MISRAC2012-RULE_21_1-a-2
93:  Do not use reserved identifiers : __INTOF_ASSIGN MISRAC2012-RULE_21_1-a-2
101:  Do not use reserved identifiers : __INTOF_ADD MISRAC2012-RULE_21_1-a-2
139:  Do not use reserved identifiers : __INTOF_SUB MISRAC2012-RULE_21_1-a-2
140:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
141:  Each instance of parameter: 'b' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
208:  Do not use reserved identifiers : __intof_mul_negate MISRAC2012-RULE_21_1-a-2
209:  Do not use reserved identifiers : __intof_mul_hshift MISRAC2012-RULE_21_1-a-2
210:  Do not use reserved identifiers : __intof_mul_hmask MISRAC2012-RULE_21_1-a-2
211:  Do not use reserved identifiers : __intof_mul_a0 MISRAC2012-RULE_21_1-a-2
212:  Do not use reserved identifiers : __intof_mul_b0 MISRAC2012-RULE_21_1-a-2
213:  Do not use reserved identifiers : __intof_mul_a1 MISRAC2012-RULE_21_1-a-2
214:  Do not use reserved identifiers : __intof_mul_b1 MISRAC2012-RULE_21_1-a-2
215:  Do not use reserved identifiers : __intof_mul_t MISRAC2012-RULE_21_1-a-2
218:  Do not use reserved identifiers : __INTOF_MUL MISRAC2012-RULE_21_1-a-2
236:  Do not use reserved identifiers : __compiler_add_overflow MISRAC2012-RULE_21_1-a-2
237:  Do not use reserved identifiers : __compiler_sub_overflow MISRAC2012-RULE_21_1-a-2
238:  Do not use reserved identifiers : __compiler_mul_overflow MISRAC2012-RULE_21_1-a-2
242:  Do not use reserved identifiers : __compiler_compare_and_swap MISRAC2012-RULE_21_1-a-2
246:  Do not use reserved identifiers : __compiler_atomic_load MISRAC2012-RULE_21_1-a-2
247:  Do not use reserved identifiers : __compiler_atomic_store MISRAC2012-RULE_21_1-a-2
253:  Do not use reserved identifiers : __has_attribute MISRAC2012-RULE_21_1-a-2
256:  Macro might be not defined: __fallthrough__ MISRAC2012-RULE_20_9-b-2
/optee_os_MISRA/ext/include/config.h
7:  Do not use reserved identifiers : __CONFIG_H_ MISRAC2012-RULE_21_1-a-2
46:  Do not use reserved identifiers : _XXXX1 MISRAC2012-RULE_21_1-a-2
60:  Each instance of parameter: 'val' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/ext/include/confine_array_index.h
70:  Do not mix C/C++ code and assembler code in function 'confine_array_index' MISRAC2012-DIR_4_3-a-2
/optee_os_MISRA/ext/include/mempool.h
7:  Do not use reserved identifiers : __MEMPOOL_H MISRAC2012-RULE_21_1-a-2
37:  The 'mempool_default' object has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/ext/include/printk.h
20:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
20:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
23:  Reserved name '__vsnprintf' used MISRAC2012-RULE_21_2-a-2
23:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
23:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
25:  Reserved name '__vsprintf' used MISRAC2012-RULE_21_2-a-2
25:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
25:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
/optee_os_MISRA/ext/include/speculation_barrier.h
1:  Multiple include guard should appear as first #ifndef or #if preprocessor directive MISRAC2012-DIR_4_10-a-2
33:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
33:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
40:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
40:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
41:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
45:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
45:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
45:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
45:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
45:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
50:  Do not use reserved identifiers : __UNUSED MISRAC2012-RULE_21_1-a-2
52:  Do not use reserved identifiers : __UNUSED MISRAC2012-RULE_21_1-a-2
57:  Do not use reserved identifiers : __load_no_speculate1 MISRAC2012-RULE_21_1-a-2
70:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
71:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
122:  Do not use reserved identifiers : __load_no_speculate MISRAC2012-RULE_21_1-a-2
128:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
128:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
128:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
129:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
129:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
132:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
132:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
132:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
133:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
133:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
136:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
136:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
136:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
137:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
137:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
140:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
140:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
140:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
141:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
141:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
157:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
157:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
163:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
163:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
164:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
168:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
168:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
168:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
168:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
168:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
175:  Do not use reserved identifiers : __load_no_speculate1 MISRAC2012-RULE_21_1-a-2
186:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
187:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
246:  Do not use reserved identifiers : __load_no_speculate2 MISRAC2012-RULE_21_1-a-2
257:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
258:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
325:  Do not use reserved identifiers : __load_no_speculate1 MISRAC2012-RULE_21_1-a-2
336:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
337:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
387:  Do not use reserved identifiers : __load_no_speculate2 MISRAC2012-RULE_21_1-a-2
398:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
399:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
456:  Do not use reserved identifiers : __load_no_speculate MISRAC2012-RULE_21_1-a-2
462:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
462:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
462:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
463:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
463:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
466:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
466:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
466:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
467:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
467:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
470:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
470:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
470:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
471:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
471:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
474:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
474:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
474:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
475:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
475:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
491:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
491:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
497:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
497:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
498:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
502:  Each instance of parameter: '__cmpptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
502:  Each instance of parameter: '__failval' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
502:  Each instance of parameter: '__high' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
502:  Each instance of parameter: '__low' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
502:  Each instance of parameter: '__ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/ext/include/trace.h
34:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
34:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
85:  Each instance of parameter: 'r' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
86:  Each instance of parameter: 'r' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
95:  Each instance of parameter: 'buf' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
95:  Each instance of parameter: 'len' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/ext/include/types_ext.h
25:  Do not use reserved identifiers : __SIZEOF_PADDR__ MISRAC2012-RULE_21_1-a-2
31:  Do not use reserved identifiers : __SIZEOF_PADDR__ MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/ext/include/util.h
96:  Do not use reserved identifiers : _TO_STR MISRAC2012-RULE_21_1-a-2
98:  Each instance of parameter: 'x' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
98:  Each instance of parameter: 'y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
99:  Do not use reserved identifiers : _CONCAT MISRAC2012-RULE_21_1-a-2
103:  Each instance of parameter: 'type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
104:  Each instance of parameter: 'member' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
104:  Each instance of parameter: 'type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
104:  Each instance of parameter: 'type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
107:  Each instance of parameter: 'type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
162:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
163:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/ext/mempool.c
101:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
101:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
103:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
103:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
103:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
103:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
103:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
103:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
104:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
104:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
104:  Potential macro 'MEMPOOL_ALIGN' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
104:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
106:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
108:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
130:  Operands of the '+' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
132:  Operands of the '+' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
134:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
134:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
134:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
135:  Conditional statement 'if' in a function 'mempool_alloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
140:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
140:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
140:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
141:  Conditional statement 'if' in a function 'mempool_alloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
147:  Conditional statement 'if' in a function 'mempool_alloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
147:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
148:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
150:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
172:  Conditional statement 'if' in a function 'mempool_calloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
176:  Conditional statement 'if' in a function 'mempool_calloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
176:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
177:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
189:  Conditional statement 'if' in a function 'mempool_free' should be followed by a block MISRAC2012-RULE_15_6-b-2
189:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
192:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
195:  Operands of the '+' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
202:  Operands of the '+' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/ext/memzero_explicit.c
17:  Names shall be given for all parameters in a function type 'volatile void *(void *, int, size_t)' MISRAC2012-RULE_8_2-b-2
18:  Names shall be given for all parameters in a function type 'volatile void *(void *, int, size_t)' MISRAC2012-RULE_8_2-b-2
18:  Pointer to function 'void *(void *, int, size_t)' is cast to pointer to incompatible function 'volatile void *(void *, int, size_t)' MISRAC2012-RULE_11_1-b-2
22:  Unused function value (function called through expression) MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/ext/nex_strdup.c
11:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
12:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
12:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
14:  Conditional statement 'if' in a function 'nex_strdup' should be followed by a block MISRAC2012-RULE_15_6-b-2
14:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
15:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/ext/snprintk.c
96:  Do not use reserved identifiers : __UNCONST MISRAC2012-RULE_21_1-a-2
98:  Do not use reserved identifiers : putchar MISRAC2012-RULE_21_1-b-2
98:  Do not use reserved identifiers : putchar MISRAC2012-RULE_21_1-c-2
102:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
102:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
112:  Identifiers given in declaration of 'snprintk' function (file: 'printk.h', line: '18') are: 'str' not: 'bf' MISRAC2012-RULE_8_3-b-2
115:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
115:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
117:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-a-2
117:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-b-2
118:  Function "vsnprintk" is called recursively MISRAC2012-RULE_17_2-a-2
119:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
119:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
129:  Identifiers given in declaration of 'vsnprintk' function (file: 'printk.h', line: '20') are: 'str' not: 'bf' MISRAC2012-RULE_8_3-b-2
129:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
129:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
131:  Function "__vsnprintf" is called recursively MISRAC2012-RULE_17_2-a-2
135:  Identifiers given in declaration of '__vsnprintf' function (file: 'printk.h', line: '23') are: 'str' not: 'bf' MISRAC2012-RULE_8_3-b-2
135:  Reserved name '__vsnprintf' used MISRAC2012-RULE_21_2-a-2
135:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
135:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
143:  Function "kprintf" is called recursively MISRAC2012-RULE_17_2-a-2
144:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
144:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
146:  Conditional statement 'if' in a function '__vsnprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
147:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
149:  An 'else' statement in a function '__vsnprintf' shall be followed by a block MISRAC2012-RULE_15_6-b-2
154:  Reserved name '__vsprintf' used MISRAC2012-RULE_21_2-a-2
154:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
154:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
195:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
195:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
196:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
196:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
197:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
197:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
198:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
198:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
199:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
199:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
200:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
200:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
201:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
201:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
203:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
203:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
204:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
204:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
205:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
205:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
206:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
206:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
207:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
207:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
208:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
208:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
209:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
209:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
229:  Function "snprintk" is called recursively MISRAC2012-RULE_17_2-a-2
242:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
242:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
242:  Value 100 is out of acceptable range: 'lower than 30' METRIC.CC-3
255:  Reserved name '_uquad' used MISRAC2012-RULE_21_2-a-2
264:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
267:  An 'else' statement in a function 'kprintf' shall be followed by a block MISRAC2012-RULE_15_6-b-2
 +  270:  Value of "size" is never used MISRAC2012-RULE_2_2-b-2
281:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
283:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
283:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
285:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
285:  Operands of the '==' operator have different essential types: 'char' and 'signed char' MISRAC2012-RULE_10_4-a-2
296:  The expression of the 'essentially character' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
298:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
298:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
298:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
304:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
304:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
306:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
307:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
307:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
307:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
308:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
308:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
309:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
310:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
310:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
310:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
317:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
317:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
318:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
321:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
321:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
321:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
322:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
322:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
323:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
324:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
324:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
324:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
326:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
327:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
327:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
327:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
328:  Operands of the '==' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
328:  The expression of the 'essentially character' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
329:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
329:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
331:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
334:  Composite expression with 'signed' essential type category shall not be cast to different essential type category 'unsigned' MISRAC2012-RULE_10_8-a-2
334:  Operands of the '-' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
334:  Operands of the '<=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
334:  The right hand operand of the '-' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
335:  Operands of the '-' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
335:  The right hand operand of the '-' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
336:  The expression of the 'essentially character' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
339:  The goto statement jumps to 'reswitch' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
340:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
340:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
340:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
346:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
346:  The right hand operand of the '|=' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
347:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
348:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
349:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
349:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
352:  Operands of the '-' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
352:  The right hand operand of the '-' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
353:  The expression of the 'essentially character' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
354:  Composite expression with 'signed' essential type category shall not be cast to different essential type category 'unsigned' MISRAC2012-RULE_10_8-a-2
354:  Operands of the '-' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
354:  Operands of the '<=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
354:  The right hand operand of the '-' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
356:  The goto statement jumps to 'reswitch' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
357:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
357:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
357:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
358:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
358:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
359:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
360:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
360:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
360:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
361:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
361:  The right hand operand of the '|=' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
362:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
363:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
363:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
363:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
366:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
366:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
368:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
368:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
370:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
371:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
371:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
371:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
372:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
372:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
373:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
374:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
374:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
374:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
375:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
375:  The right hand operand of the '|=' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
376:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
377:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
377:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
377:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
378:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
378:  The right hand operand of the '|=' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
379:  The goto statement jumps to 'rflag' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
380:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
381:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
381:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
385:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
385:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
385:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
386:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
386:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
388:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
389:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
389:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
390:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
390:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
390:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
390:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
390:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
390:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
392:  The operand of the unary '-' operator has essentially unsigned type: 'unsigned long' MISRAC2012-RULE_10_1-g-2
396:  There is no label 'number' declared in the same block, or in a block enclosing the goto statement MISRAC2012-RULE_15_3-a-2
397:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
397:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
397:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
398:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
398:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
398:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
398:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
399:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
399:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
400:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
400:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
400:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
400:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
401:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
401:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
402:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
402:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
402:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
402:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
403:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
403:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
404:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
404:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
404:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
404:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
405:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
405:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
406:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
406:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
406:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
406:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
407:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
407:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
408:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
408:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
408:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
408:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
409:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
409:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
411:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
411:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
413:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
413:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
413:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
414:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
414:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
416:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
416:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
416:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
417:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
417:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
417:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
417:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
417:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
419:  There is no label 'nosign' declared in the same block, or in a block enclosing the goto statement MISRAC2012-RULE_15_3-a-2
420:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
420:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
420:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
427:  Function "uuid2str" is called recursively MISRAC2012-RULE_17_2-a-2
428:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
428:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
441:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
441:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
444:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
444:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
445:  The expression of the 'essentially character' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
446:  There is no label 'nosign' declared in the same block, or in a block enclosing the goto statement MISRAC2012-RULE_15_3-a-2
447:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
448:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-a-2
448:  The identifier 'va_arg' shall not be used MISRAC2012-RULE_17_1-b-2
450:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
450:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
457:  The argument number '3' ('essentially signed' type) is passed to the function 'memchr' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
460:  The expression of the 'long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
461:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
464:  An 'else' statement in a function 'kprintf' shall be followed by a block MISRAC2012-RULE_15_6-b-2
466:  An 'else' statement in a function 'kprintf' shall be followed by a block MISRAC2012-RULE_15_6-b-2
466:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
469:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
469:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
469:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
470:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
470:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
472:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
472:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
472:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
473:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
473:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
473:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
473:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
473:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
475:  There is no label 'nosign' declared in the same block, or in a block enclosing the goto statement MISRAC2012-RULE_15_3-a-2
476:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
476:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
476:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
478:  There is no label 'hex' declared in the same block, or in a block enclosing the goto statement MISRAC2012-RULE_15_3-a-2
479:  The expression of the 'essentially character' type in a switch statement's case label is converted to the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
481:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
481:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
481:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
481:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
481:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
481:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
481:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
481:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
481:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
484:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
484:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
484:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
484:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
484:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
485:  The left hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
485:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
495:  The left hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
495:  The operand of the '~' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
495:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
503:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
511:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
512:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
512:  Operands of the '+' operator have different essential types: 'unsigned long' and 'char' MISRAC2012-RULE_10_4-a-2
512:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
512:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
516:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
516:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
516:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
516:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
522:  Operands of the '>=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
523:  Operands of the '%' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
523:  Operands of the '+' operator have different essential types: 'unsigned long' and 'char' MISRAC2012-RULE_10_4-a-2
523:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
524:  Operands of the '/=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
526:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
530:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
531:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
531:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
536:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
536:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
538:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
538:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
539:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
543:  The expression of the 'long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
547:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
547:  Operands of the '==' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
551:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
572:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
572:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
574:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
574:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
574:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
574:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
574:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
581:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
581:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
581:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
581:  The right hand operand of the '|' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
584:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
584:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
588:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
589:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
589:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
590:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
590:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
590:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
590:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
591:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
591:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
592:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
592:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
592:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
596:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
596:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
596:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
596:  The right hand operand of the '|' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
599:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
599:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
605:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
605:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
608:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
608:  The second clause of a 'for' statement contains an expression that has a persistent side effect MISRAC2012-RULE_14_2-c-2
608:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
608:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
609:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
609:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
611:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
611:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
611:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
614:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
614:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
619:  Conditional statement 'if' in a function 'kprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/ext/strlcat.c
50:  Identifiers given in declaration of 'strlcat' function (file: 'string_ext.h', line: '22') are: 'size' not: 'siz' MISRAC2012-RULE_8_3-b-2
58:  'while' statement in a function 'strlcat' should be followed by a block MISRAC2012-RULE_15_6-a-2
58:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
60:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
63:  Conditional statement 'if' in a function 'strlcat' should be followed by a block MISRAC2012-RULE_15_6-b-2
63:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
67:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
 +  69:  Integer overflow: value of --n will be 18,446,744,073,709,551,615 instead of -1 (result type: 64 bits, unsigned, min: 0, max: 18,446,744,073,709,551,615) MISRAC2012-DIR_4_1-k-2
75:  Operands of the '+' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/ext/strlcpy.c
46:  Identifiers given in declaration of 'strlcpy' function (file: 'string_ext.h', line: '21') are: 'size' not: 'siz' MISRAC2012-RULE_8_3-b-2
53:  Do not use expressions with side effects in the right-hand operand of a logical '&&' operator MISRAC2012-RULE_13_5-a-2
53:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
53:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
55:  Conditional statement 'if' in a function 'strlcpy' should be followed by a block MISRAC2012-RULE_15_6-b-2
55:  Operands of the '==' operator have different essential types: 'char' and 'signed char' MISRAC2012-RULE_10_4-a-2
57:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
61:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
62:  Conditional statement 'if' in a function 'strlcpy' should be followed by a block MISRAC2012-RULE_15_6-b-2
62:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
64:  'while' statement in a function 'strlcpy' should be followed by a block MISRAC2012-RULE_15_6-a-2
64:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
68:  The expression of the 'essentially signed' type is returned from function 'strlcpy' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/ext/trace.c
26:  Conditional statement 'if' in a function 'trace_set_level' should be followed by a block MISRAC2012-RULE_15_6-b-2
29:  An 'else' statement in a function 'trace_set_level' shall be followed by a block MISRAC2012-RULE_15_6-b-2
49:  Conditional statement 'if' in a function 'trace_level_to_string' should be followed by a block MISRAC2012-RULE_15_6-b-2
52:  Conditional statement 'if' in a function 'trace_level_to_string' should be followed by a block MISRAC2012-RULE_15_6-b-2
67:  Conditional statement 'if' in a function 'print_thread_id' should be followed by a block MISRAC2012-RULE_15_6-b-2
70:  An 'else' statement in a function 'print_thread_id' shall be followed by a block MISRAC2012-RULE_15_6-b-2
95:  Identifiers given in declaration of 'trace_printf' function (file: 'trace.h', line: '35') are: 'func' not: 'function' MISRAC2012-RULE_8_3-b-2
98:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
98:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
100:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-a-2
100:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-b-2
102:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
102:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
104:  Identifiers given in declaration of 'trace_vprintf' function (file: 'trace.h', line: '33') are: 'func, args' not: 'function, ap' MISRAC2012-RULE_8_3-b-2
105:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
105:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
111:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
117:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
119:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
124:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
126:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
128:  Operands of the '&' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
128:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
128:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
128:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
131:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
133:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
137:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
139:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
141:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
144:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
146:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
150:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
150:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
153:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
157:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
158:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
160:  Conditional statement 'if' in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-b-2
160:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
161:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
164:  'while' statement in a function 'trace_vprintf' should be followed by a block MISRAC2012-RULE_15_6-a-2
164:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
167:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
207:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
207:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
212:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-a-2
212:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-b-2
214:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
214:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
/optee_os_MISRA/isoc/bget.c
474:  Whole code in file should be secured from multiple inclusion MISRAC2012-DIR_4_10-a-2
585:  Conditional statement 'if' in a function 'buf_get_pos' should be followed by a block MISRAC2012-RULE_15_6-b-2
592:  Operands of the '+' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
592:  Operands of the '-' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
594:  Operands of the '&=' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
594:  The operand of the '~' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
594:  The right hand operand of the '&=' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
595:  Operands of the '-' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
595:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
597:  Conditional statement 'if' in a function 'buf_get_pos' should be followed by a block MISRAC2012-RULE_15_6-b-2
599:  Conditional statement 'if' in a function 'buf_get_pos' should be followed by a block MISRAC2012-RULE_15_6-b-2
599:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
599:  Operands of the '>=' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
599:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
607:  Function 'bget' is not in prototype form MISRAC2012-RULE_8_2-c-2
607:  Identifiers given in declaration of 'bget' function (file: 'bget.h', line: '35') are: 'align, size' not: 'requested_align, requested_size' MISRAC2012-RULE_8_3-b-2
626:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
626:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
626:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
626:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
626:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
626:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
626:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
628:  Conditional statement 'if' in a function 'bget' should be followed by a block MISRAC2012-RULE_15_6-b-2
628:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
628:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
630:  Conditional statement 'if' in a function 'bget' should be followed by a block MISRAC2012-RULE_15_6-b-2
630:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
630:  Operands of the '%' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
630:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
633:  Operands of the '<' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
633:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
633:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
634:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
634:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
634:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
636:  Conditional statement 'if' in a function 'bget' should be followed by a block MISRAC2012-RULE_15_6-b-2
636:  Operands of the '<' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
636:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
636:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
637:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
637:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
637:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
640:  Conditional statement 'if' in a function 'bget' should be followed by a block MISRAC2012-RULE_15_6-b-2
643:  The left hand operand of the '&' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
643:  The operand of the '~' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
643:  The right hand operand of the '&' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
648:  Conditional statement 'if' in a function 'bget' should be followed by a block MISRAC2012-RULE_15_6-b-2
650:  Conditional statement 'if' in a function 'bget' should be followed by a block MISRAC2012-RULE_15_6-b-2
687:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
688:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
727:  Operands of the '>' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
727:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
727:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
733:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bfhead *' MISRAC2012-RULE_11_3-a-2
747:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
747:  Potential macro 'BH' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
756:  The argument number '2' ('essentially signed' type) is passed to the function 'tag_asan_alloced' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
845:  Function 'bgetz' is not in prototype form MISRAC2012-RULE_8_2-c-2
857:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
862:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bdhead *' MISRAC2012-RULE_11_3-a-2
863:  Operands of the '-' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
863:  Operands of the '-' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
863:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
865:  Operands of the '-=' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
868:  The argument number '3' ('essentially signed' type) is passed to the function 'memset_unchecked' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
878:  Function 'bgetr' is not in prototype form MISRAC2012-RULE_8_2-c-2
878:  Identifiers given in declaration of 'bgetr' function (file: 'bget.h', line: '37') are: 'buffer, newsize' not: 'buf, size' MISRAC2012-RULE_8_3-b-2
895:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
906:  Operands of the '-=' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
909:  The argument number '3' ('essentially signed' type) is passed to the function 'memcpy' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
912:  Conditional statement 'if' in a function 'bgetr' should be followed by a block MISRAC2012-RULE_15_6-b-2
913:  The argument number '3' ('essentially signed' type) is passed to the function 'memset' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
921:  Function 'brel' is not in prototype form MISRAC2012-RULE_8_2-c-2
929:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bfhead *' MISRAC2012-RULE_11_3-a-2
933:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
955:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
974:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
974:  Potential macro 'BH' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
994:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
994:  Potential macro 'BH' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
995:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bfhead *' MISRAC2012-RULE_11_3-a-2
1016:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bfhead *' MISRAC2012-RULE_11_3-a-2
1022:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
1022:  Potential macro 'BH' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1036:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bfhead *' MISRAC2012-RULE_11_3-a-2
1038:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1040:  Composite expression with 'unsigned' essential type category shall not be cast to different essential type category 'signed' MISRAC2012-RULE_10_8-a-2
1040:  Operands of the '-' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1040:  The argument number '3' ('essentially signed' type) is passed to the function 'memset_unchecked' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1060:  Potential macro 'BH' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1060:  Potential macro 'ESent' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1061:  Potential macro 'BH' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1074:  The argument number '2' ('essentially signed' type) is passed to the function 'tag_asan_free' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1097:  Function 'bpool' is not in prototype form MISRAC2012-RULE_8_2-c-2
1097:  Identifiers given in declaration of 'bpool' function (file: 'bget.h', line: '34') are: 'buffer' not: 'buf' MISRAC2012-RULE_8_3-b-2
1106:  The left hand operand of the '&=' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
1106:  The operand of the '~' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1106:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1125:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1125:  Operands of the '-' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1125:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1125:  Operands of the '<=' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
1125:  Potential macro 'ESent' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1125:  The left hand operand of the '<<' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
1150:  Operands of the '-=' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1156:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
1159:  The operand of the '~' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1159:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
1160:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1160:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1160:  The left hand operand of the '<<' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
1167:  Function 'bstats' is not in prototype form MISRAC2012-RULE_8_2-c-2
1598:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1602:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1640:  Potential macro 'ExpIncr' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
/optee_os_MISRA/isoc/bget.h
21:  #define _ should directly follow first #ifndef preprocessor directive MISRAC2012-DIR_4_10-a-2
23:  Do not use reserved identifiers : _ MISRAC2012-RULE_21_1-a-2
23:  Each instance of parameter: 'x' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
25:  Do not use reserved identifiers : _ MISRAC2012-RULE_21_1-a-2
40:  The 'bectl' function has no definition MISRAC2012-RULE_8_6-a-2
46:  The 'bstatse' function has no definition MISRAC2012-RULE_8_6-a-2
49:  The 'bufdump' function has no definition MISRAC2012-RULE_8_6-a-2
50:  The 'bpoold' function has no definition MISRAC2012-RULE_8_6-a-2
51:  The 'bpoolv' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/isoc/bget_malloc.c
189:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
190:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
192:  A tag name 'malloc_ctx' is reused MISRAC2012-RULE_5_7-a-2
211:  Conditional statement 'if' in a function 'raw_malloc_return_hook' should be followed by a block MISRAC2012-RULE_15_6-b-2
211:  Operands of the '>' operator have different essential types: 'long' and 'unsigned int' MISRAC2012-RULE_10_4-a-2
212:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
214:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
218:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
219:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
246:  Unused function's "memcpy_unchecked" return value MISRAC2012-RULE_17_7-a-2
247:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
299:  Conditional statement 'if' in a function 'bpool_foreach_pool' should be followed by a block MISRAC2012-RULE_15_6-b-2
299:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
299:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
299:  The left hand operand of the '<<' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
317:  Operands of the '-' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
319:  Pointer to object type 'uint8_t *' is cast to pointer to different object type 'struct bfhead *' MISRAC2012-RULE_11_3-a-2
331:  Conditional statement 'if' in a function 'bpool_foreach' should be followed by a block MISRAC2012-RULE_15_6-b-2
336:  Conditional statement 'if' in a function 'bpool_foreach' should be followed by a block MISRAC2012-RULE_15_6-b-2
336:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
355:  Conditional statement 'if' in a function 'raw_memalign' should be followed by a block MISRAC2012-RULE_15_6-b-2
355:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
355:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
355:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
361:  Conditional statement 'if' in a function 'raw_memalign' should be followed by a block MISRAC2012-RULE_15_6-b-2
365:  Conditional statement 'if' in a function 'raw_memalign' should be followed by a block MISRAC2012-RULE_15_6-b-2
365:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
368:  The argument number '1' ('essentially unsigned' type) is passed to the function 'bget' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
368:  The argument number '2' ('essentially unsigned' type) is passed to the function 'bget' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
382:  Operands of the '>' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
382:  The second and third operand have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-b-2
389:  Conditional statement 'if' in a function 'raw_free' should be followed by a block MISRAC2012-RULE_15_6-b-2
389:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
390:  The argument number '3' ('essentially Boolean' type) is passed to the function 'brel' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
402:  Conditional statement 'if' in a function 'raw_calloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
404:  Conditional statement 'if' in a function 'raw_calloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
408:  Conditional statement 'if' in a function 'raw_calloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
408:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
411:  The argument number '2' ('essentially unsigned' type) is passed to the function 'bgetz' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
425:  Conditional statement 'if' in a function 'raw_realloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
427:  Conditional statement 'if' in a function 'raw_realloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
433:  Conditional statement 'if' in a function 'raw_realloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
433:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
449:  Pointer to object type 'char *' is cast to pointer to different object type 'struct bhead *' MISRAC2012-RULE_11_3-a-2
460:  Operands of the '-=' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
535:  Potential macro 'MDBG_HEADER_MAGIC' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
536:  Potential macro 'MDBG_FOOTER_MAGIC' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
607:  Each instance of parameter: 'ctx' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
689:  The identifier 'malloc' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
689:  The identifier 'malloc' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
707:  The identifier 'calloc' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
707:  The identifier 'calloc' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
717:  The identifier 'realloc_unlocked' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
717:  The identifier 'realloc_unlocked' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
723:  The identifier 'realloc' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
723:  The identifier 'realloc' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
733:  The identifier 'memalign' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
733:  The identifier 'memalign' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
745:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
766:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
768:  Operands of the '&' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
768:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
768:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
769:  The operand of the '~' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
770:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
773:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
773:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
774:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
784:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
785:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
785:  The argument number '2' ('essentially unsigned' type) is passed to the function 'bpool' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
786:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
788:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
790:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
793:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
812:  Conditional statement 'if' in a function 'gen_malloc_buffer_is_within_alloced' should be followed by a block MISRAC2012-RULE_15_6-b-2
815:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
815:  The second clause of a 'for' statement contains a call of the function that has a persistent side effect: 'bpool_foreach' MISRAC2012-RULE_14_2-c-2
815:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
815:  The third clause of a 'for' statement does not contain an expression which only modifies a loop counter MISRAC2012-RULE_14_2-d-2
838:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
847:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
/optee_os_MISRA/isoc/fp.c
8:  Reserved name '_FILE' used MISRAC2012-RULE_21_2-a-2
12:  Reserved name '_fake_stdout' used MISRAC2012-RULE_21_2-a-2
13:  Reserved name '_fake_stderr' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/isoc/fputc.c
11:  Conditional statement 'if' in a function 'fputc' should be followed by a block MISRAC2012-RULE_15_6-b-2
12:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
14:  Usage of 'putchar' function is not allowed MISRAC2012-RULE_21_6-a-2
/optee_os_MISRA/isoc/fputs.c
12:  Conditional statement 'if' in a function 'fputs' should be followed by a block MISRAC2012-RULE_15_6-b-2
13:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
/optee_os_MISRA/isoc/fwrite.c
14:  Conditional statement 'if' in a function 'fwrite' should be followed by a block MISRAC2012-RULE_15_6-b-2
16:  Conditional statement 'if' in a function 'fwrite' should be followed by a block MISRAC2012-RULE_15_6-b-2
19:  An 'else' statement in a function 'fwrite' shall be followed by a block MISRAC2012-RULE_15_6-b-2
19:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
21:  The expression of the 'essentially signed' type is returned from function 'fwrite' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/include/assert.h
11:  Reserved name '_assert_break' used MISRAC2012-RULE_21_2-a-2
11:  The '_assert_break' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
12:  A tag name 'file' is reused MISRAC2012-RULE_5_7-a-2
12:  Reserved name '_assert_log' used MISRAC2012-RULE_21_2-a-2
17:  Do not use reserved identifiers : assert MISRAC2012-RULE_21_1-b-2
17:  Do not use reserved identifiers : assert MISRAC2012-RULE_21_1-c-2
19:  Do not use reserved identifiers : assert MISRAC2012-RULE_21_1-b-2
19:  Do not use reserved identifiers : assert MISRAC2012-RULE_21_1-c-2
/optee_os_MISRA/isoc/include/ctype.h
6:  Do not use reserved identifiers : __CTYPE_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/isoc/include/inttypes.h
11:  Do not use reserved identifiers : __PRI64_PREFIX MISRAC2012-RULE_21_1-a-2
14:  Do not use reserved identifiers : __PRI64_PREFIX MISRAC2012-RULE_21_1-a-2
16:  Do not use reserved identifiers : __PRIPTR_PREFIX MISRAC2012-RULE_21_1-a-2
18:  Do not use reserved identifiers : PRId8 MISRAC2012-RULE_21_1-c-2
19:  Do not use reserved identifiers : PRId16 MISRAC2012-RULE_21_1-c-2
20:  Do not use reserved identifiers : PRId32 MISRAC2012-RULE_21_1-c-2
21:  Do not use reserved identifiers : PRId64 MISRAC2012-RULE_21_1-c-2
22:  Do not use reserved identifiers : PRIdPTR MISRAC2012-RULE_21_1-c-2
24:  Do not use reserved identifiers : PRIi8 MISRAC2012-RULE_21_1-c-2
25:  Do not use reserved identifiers : PRIi16 MISRAC2012-RULE_21_1-c-2
26:  Do not use reserved identifiers : PRIi32 MISRAC2012-RULE_21_1-c-2
27:  Do not use reserved identifiers : PRIi64 MISRAC2012-RULE_21_1-c-2
28:  Do not use reserved identifiers : PRIiPTR MISRAC2012-RULE_21_1-c-2
30:  Do not use reserved identifiers : PRIo8 MISRAC2012-RULE_21_1-c-2
31:  Do not use reserved identifiers : PRIo16 MISRAC2012-RULE_21_1-c-2
32:  Do not use reserved identifiers : PRIo32 MISRAC2012-RULE_21_1-c-2
33:  Do not use reserved identifiers : PRIo64 MISRAC2012-RULE_21_1-c-2
34:  Do not use reserved identifiers : PRIoPTR MISRAC2012-RULE_21_1-c-2
36:  Do not use reserved identifiers : PRIu8 MISRAC2012-RULE_21_1-c-2
37:  Do not use reserved identifiers : PRIu16 MISRAC2012-RULE_21_1-c-2
38:  Do not use reserved identifiers : PRIu32 MISRAC2012-RULE_21_1-c-2
39:  Do not use reserved identifiers : PRIu64 MISRAC2012-RULE_21_1-c-2
40:  Do not use reserved identifiers : PRIuPTR MISRAC2012-RULE_21_1-c-2
42:  Do not use reserved identifiers : PRIx8 MISRAC2012-RULE_21_1-c-2
43:  Do not use reserved identifiers : PRIx16 MISRAC2012-RULE_21_1-c-2
44:  Do not use reserved identifiers : PRIx32 MISRAC2012-RULE_21_1-c-2
45:  Do not use reserved identifiers : PRIx64 MISRAC2012-RULE_21_1-c-2
46:  Do not use reserved identifiers : PRIxPTR MISRAC2012-RULE_21_1-c-2
48:  Do not use reserved identifiers : PRIX8 MISRAC2012-RULE_21_1-c-2
49:  Do not use reserved identifiers : PRIX16 MISRAC2012-RULE_21_1-c-2
50:  Do not use reserved identifiers : PRIX32 MISRAC2012-RULE_21_1-c-2
51:  Do not use reserved identifiers : PRIX64 MISRAC2012-RULE_21_1-c-2
52:  Do not use reserved identifiers : PRIXPTR MISRAC2012-RULE_21_1-c-2
/optee_os_MISRA/isoc/include/limits.h
8:  Do not use reserved identifiers : CHAR_BIT MISRAC2012-RULE_21_1-c-2
11:  Do not use reserved identifiers : CHAR_MAX MISRAC2012-RULE_21_1-c-2
12:  Do not use reserved identifiers : CHAR_MIN MISRAC2012-RULE_21_1-c-2
14:  Do not use reserved identifiers : CHAR_MAX MISRAC2012-RULE_21_1-c-2
15:  Do not use reserved identifiers : CHAR_MIN MISRAC2012-RULE_21_1-c-2
18:  Do not use reserved identifiers : INT_MAX MISRAC2012-RULE_21_1-c-2
19:  Do not use reserved identifiers : INT_MIN MISRAC2012-RULE_21_1-c-2
21:  Do not use reserved identifiers : LONG_MAX MISRAC2012-RULE_21_1-c-2
22:  Do not use reserved identifiers : LONG_MIN MISRAC2012-RULE_21_1-c-2
24:  Do not use reserved identifiers : LLONG_MAX MISRAC2012-RULE_21_1-c-2
25:  Do not use reserved identifiers : LLONG_MIN MISRAC2012-RULE_21_1-c-2
27:  Do not use reserved identifiers : MB_LEN_MAX MISRAC2012-RULE_21_1-c-2
29:  Do not use reserved identifiers : SCHAR_MAX MISRAC2012-RULE_21_1-c-2
30:  Do not use reserved identifiers : SCHAR_MIN MISRAC2012-RULE_21_1-c-2
32:  Do not use reserved identifiers : SHRT_MAX MISRAC2012-RULE_21_1-c-2
33:  Do not use reserved identifiers : SHRT_MIN MISRAC2012-RULE_21_1-c-2
35:  Macro might be not defined: __INT_MAX__ MISRAC2012-RULE_20_9-b-2
35:  Macro might be not defined: __SCHAR_MAX__ MISRAC2012-RULE_20_9-b-2
36:  Do not use reserved identifiers : UCHAR_MAX MISRAC2012-RULE_21_1-c-2
38:  Do not use reserved identifiers : UCHAR_MAX MISRAC2012-RULE_21_1-c-2
41:  Macro might be not defined: __INT_MAX__ MISRAC2012-RULE_20_9-b-2
41:  Macro might be not defined: __SHRT_MAX__ MISRAC2012-RULE_20_9-b-2
42:  Do not use reserved identifiers : USHRT_MAX MISRAC2012-RULE_21_1-c-2
44:  Do not use reserved identifiers : USHRT_MAX MISRAC2012-RULE_21_1-c-2
47:  Do not use reserved identifiers : UINT_MAX MISRAC2012-RULE_21_1-c-2
49:  Do not use reserved identifiers : ULONG_MAX MISRAC2012-RULE_21_1-c-2
50:  Do not use reserved identifiers : ULLONG_MAX MISRAC2012-RULE_21_1-c-2
/optee_os_MISRA/isoc/include/malloc.h
23:  Do not use reserved identifiers : malloc MISRAC2012-RULE_21_1-b-2
23:  Do not use reserved identifiers : malloc MISRAC2012-RULE_21_1-c-2
24:  Do not use reserved identifiers : calloc MISRAC2012-RULE_21_1-b-2
24:  Do not use reserved identifiers : calloc MISRAC2012-RULE_21_1-c-2
26:  Do not use reserved identifiers : realloc MISRAC2012-RULE_21_1-b-2
26:  Do not use reserved identifiers : realloc MISRAC2012-RULE_21_1-c-2
33:  The identifier 'malloc' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
33:  The identifier 'malloc' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
34:  The identifier 'calloc' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
34:  The identifier 'calloc' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
35:  The identifier 'realloc' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
35:  The identifier 'realloc' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
36:  The identifier 'memalign' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
36:  The identifier 'memalign' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
135:  Each instance of parameter: 'nmemb' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
135:  Each instance of parameter: 'size' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
136:  Each instance of parameter: 'ptr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
136:  Each instance of parameter: 'size' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
137:  Each instance of parameter: 'alignment' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
137:  Each instance of parameter: 'size' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/isoc/include/stdint.h
6:  Whole code in file should be secured from multiple inclusion MISRAC2012-DIR_4_10-a-2
15:  Do not use reserved identifiers : _STDINT_H MISRAC2012-RULE_21_1-a-2
24:  Macro might be not defined: __SIZEOF_INT__ MISRAC2012-RULE_20_9-b-2
24:  Macro might be not defined: __SIZEOF_LONG__ MISRAC2012-RULE_20_9-b-2
24:  Macro might be not defined: __SIZEOF_POINTER__ MISRAC2012-RULE_20_9-b-2
25:  Do not use reserved identifiers : __ILP32__ MISRAC2012-RULE_21_1-a-2
27:  Macro might be not defined: __SIZEOF_INT__ MISRAC2012-RULE_20_9-b-2
27:  Macro might be not defined: __SIZEOF_LONG__ MISRAC2012-RULE_20_9-b-2
27:  Macro might be not defined: __SIZEOF_POINTER__ MISRAC2012-RULE_20_9-b-2
28:  Do not use reserved identifiers : __LP64__ MISRAC2012-RULE_21_1-a-2
41:  Do not use reserved identifiers : __int8_t_defined MISRAC2012-RULE_21_1-a-2
59:  Do not use reserved identifiers : __uint32_t_defined MISRAC2012-RULE_21_1-a-2
104:  Do not use reserved identifiers : INT8_MIN MISRAC2012-RULE_21_1-c-2
105:  Do not use reserved identifiers : INT16_MIN MISRAC2012-RULE_21_1-c-2
106:  Do not use reserved identifiers : INT32_MIN MISRAC2012-RULE_21_1-c-2
107:  Do not use reserved identifiers : INT64_MIN MISRAC2012-RULE_21_1-c-2
109:  Do not use reserved identifiers : INT8_MAX MISRAC2012-RULE_21_1-c-2
110:  Do not use reserved identifiers : INT16_MAX MISRAC2012-RULE_21_1-c-2
111:  Do not use reserved identifiers : INT32_MAX MISRAC2012-RULE_21_1-c-2
112:  Do not use reserved identifiers : INT64_MAX MISRAC2012-RULE_21_1-c-2
114:  Do not use reserved identifiers : UINT8_MAX MISRAC2012-RULE_21_1-c-2
115:  Do not use reserved identifiers : UINT16_MAX MISRAC2012-RULE_21_1-c-2
116:  Do not use reserved identifiers : UINT32_MAX MISRAC2012-RULE_21_1-c-2
117:  Do not use reserved identifiers : UINT64_MAX MISRAC2012-RULE_21_1-c-2
121:  Do not use reserved identifiers : INT_LEAST8_MIN MISRAC2012-RULE_21_1-c-2
122:  Do not use reserved identifiers : INT_LEAST16_MIN MISRAC2012-RULE_21_1-c-2
123:  Do not use reserved identifiers : INT_LEAST32_MIN MISRAC2012-RULE_21_1-c-2
124:  Do not use reserved identifiers : INT_LEAST64_MIN MISRAC2012-RULE_21_1-c-2
126:  Do not use reserved identifiers : INT_LEAST8_MAX MISRAC2012-RULE_21_1-c-2
127:  Do not use reserved identifiers : INT_LEAST16_MAX MISRAC2012-RULE_21_1-c-2
128:  Do not use reserved identifiers : INT_LEAST32_MAX MISRAC2012-RULE_21_1-c-2
129:  Do not use reserved identifiers : INT_LEAST64_MAX MISRAC2012-RULE_21_1-c-2
131:  Do not use reserved identifiers : UINT_LEAST8_MAX MISRAC2012-RULE_21_1-c-2
132:  Do not use reserved identifiers : UINT_LEAST16_MAX MISRAC2012-RULE_21_1-c-2
133:  Do not use reserved identifiers : UINT_LEAST32_MAX MISRAC2012-RULE_21_1-c-2
134:  Do not use reserved identifiers : UINT_LEAST64_MAX MISRAC2012-RULE_21_1-c-2
138:  Do not use reserved identifiers : INT_FAST8_MIN MISRAC2012-RULE_21_1-c-2
139:  Do not use reserved identifiers : INT_FAST16_MIN MISRAC2012-RULE_21_1-c-2
140:  Do not use reserved identifiers : INT_FAST32_MIN MISRAC2012-RULE_21_1-c-2
141:  Do not use reserved identifiers : INT_FAST64_MIN MISRAC2012-RULE_21_1-c-2
143:  Do not use reserved identifiers : INT_FAST8_MAX MISRAC2012-RULE_21_1-c-2
144:  Do not use reserved identifiers : INT_FAST16_MAX MISRAC2012-RULE_21_1-c-2
145:  Do not use reserved identifiers : INT_FAST32_MAX MISRAC2012-RULE_21_1-c-2
146:  Do not use reserved identifiers : INT_FAST64_MAX MISRAC2012-RULE_21_1-c-2
148:  Do not use reserved identifiers : UINT_FAST8_MAX MISRAC2012-RULE_21_1-c-2
149:  Do not use reserved identifiers : UINT_FAST16_MAX MISRAC2012-RULE_21_1-c-2
150:  Do not use reserved identifiers : UINT_FAST32_MAX MISRAC2012-RULE_21_1-c-2
151:  Do not use reserved identifiers : UINT_FAST64_MAX MISRAC2012-RULE_21_1-c-2
155:  Do not use reserved identifiers : INTPTR_MIN MISRAC2012-RULE_21_1-c-2
156:  Do not use reserved identifiers : INTPTR_MAX MISRAC2012-RULE_21_1-c-2
157:  Do not use reserved identifiers : UINTPTR_MAX MISRAC2012-RULE_21_1-c-2
160:  Do not use reserved identifiers : INTMAX_MAX MISRAC2012-RULE_21_1-c-2
161:  Do not use reserved identifiers : INTMAX_MIN MISRAC2012-RULE_21_1-c-2
162:  Do not use reserved identifiers : UINTMAX_MAX MISRAC2012-RULE_21_1-c-2
165:  Do not use reserved identifiers : SIZE_MAX MISRAC2012-RULE_21_1-c-2
172:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
173:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
174:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
175:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
176:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
187:  Do not use reserved identifiers : INT8_C MISRAC2012-RULE_21_1-c-2
187:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
188:  Do not use reserved identifiers : UINT8_C MISRAC2012-RULE_21_1-c-2
188:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
189:  Do not use reserved identifiers : INT16_C MISRAC2012-RULE_21_1-c-2
189:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
190:  Do not use reserved identifiers : UINT16_C MISRAC2012-RULE_21_1-c-2
190:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
191:  Do not use reserved identifiers : INT32_C MISRAC2012-RULE_21_1-c-2
191:  Each instance of parameter: 'v' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
192:  Do not use reserved identifiers : UINT32_C MISRAC2012-RULE_21_1-c-2
194:  Do not use reserved identifiers : INT64_C MISRAC2012-RULE_21_1-c-2
195:  Do not use reserved identifiers : UINT64_C MISRAC2012-RULE_21_1-c-2
198:  Do not use reserved identifiers : INT64_C MISRAC2012-RULE_21_1-c-2
199:  Do not use reserved identifiers : UINT64_C MISRAC2012-RULE_21_1-c-2
206:  Do not use reserved identifiers : INTMAX_C MISRAC2012-RULE_21_1-c-2
207:  Do not use reserved identifiers : UINTMAX_C MISRAC2012-RULE_21_1-c-2
/optee_os_MISRA/isoc/include/stdio.h
21:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
21:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
/optee_os_MISRA/isoc/include/stdlib.h
19:  Names shall be given for all parameters in a function type 'int (const void *, const void *)' MISRAC2012-RULE_8_2-b-2
21:  The 'abort' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
26:  Do not use reserved identifiers : RAND_MAX MISRAC2012-RULE_21_1-b-2
26:  Do not use reserved identifiers : RAND_MAX MISRAC2012-RULE_21_1-c-2
29:  Reserved name '_strtoul' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/isoc/include/string.h
17:  Parameter number '1' type in function 'memcpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_3-a-2
17:  Parameter number '1' type in function 'memcpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_4-b-2
17:  Parameter number '2' type in function 'memcpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_3-a-2
17:  Parameter number '2' type in function 'memcpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_4-b-2
31:  Parameter number '1' type in function 'strncpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_3-a-2
31:  Parameter number '1' type in function 'strncpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_4-b-2
31:  Parameter number '2' type in function 'strncpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_3-a-2
31:  Parameter number '2' type in function 'strncpy' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_4-b-2
/optee_os_MISRA/isoc/include/strings.h
6:  Do not use reserved identifiers : __STRINGS_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/isoc/include/sys/cdefs.h
14:  Macro might be not defined: __GNUC_MINOR__ MISRAC2012-RULE_20_9-b-2
14:  Macro might be not defined: __GNUC__ MISRAC2012-RULE_20_9-b-2
15:  Macro might be not defined: __STDC_VERSION__ MISRAC2012-RULE_20_9-b-2
16:  Do not use reserved identifiers : __restrict MISRAC2012-RULE_21_1-a-2
18:  Do not use reserved identifiers : __restrict MISRAC2012-RULE_21_1-a-2
18:  The 'restrict' type qualifier is used MISRAC2012-RULE_8_14-a-2
22:  Do not use reserved identifiers : __always_inline MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/isoc/include/sys/queue.h
36:  Do not use reserved identifiers : _SYS_QUEUE_H_ MISRAC2012-RULE_21_1-a-2
132:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
141:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
149:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
157:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
162:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
179:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
221:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
234:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
234:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
297:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
309:  Each instance of parameter: 'elm' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
309:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
310:  Each instance of parameter: 'elm' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
310:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
310:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
311:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
321:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
389:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
415:  Do not use reserved identifiers : _TAILQ_HEAD MISRAC2012-RULE_21_1-a-2
418:  Each instance of parameter: 'qual' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
420:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
425:  Do not use reserved identifiers : _TAILQ_ENTRY MISRAC2012-RULE_21_1-a-2
428:  Each instance of parameter: 'qual' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
472:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
483:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
491:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
502:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
510:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
511:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
518:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
528:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
528:  Each instance of parameter: 'var' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
537:  Each instance of parameter: 'headname' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
538:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
538:  Each instance of parameter: 'headname' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
610:  Each instance of parameter: 'head' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
610:  Each instance of parameter: 'head' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
627:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
628:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
639:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
640:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
651:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
662:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
673:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
674:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
685:  Each instance of parameter: 'field' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
710:  Each instance of parameter: 'elm' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
714:  Each instance of parameter: 'elm' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/isoc/include/unistd.h
11:  Do not use reserved identifiers : __ssize_t_defined MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/isoc/isalnum.c
9:  The expression of the 'essentially Boolean' type is returned from function 'isalnum' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
9:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
9:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/isoc/isalpha.c
9:  Conditional statement 'if' in a function 'isalpha' should be followed by a block MISRAC2012-RULE_15_6-b-2
9:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
11:  Conditional statement 'if' in a function 'isalpha' should be followed by a block MISRAC2012-RULE_15_6-b-2
11:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
11:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/isoc/iscntrl.c
9:  Conditional statement 'if' in a function 'iscntrl' should be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/isoc/isdigit.c
9:  Conditional statement 'if' in a function 'isdigit' should be followed by a block MISRAC2012-RULE_15_6-b-2
9:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/isoc/isgraph.c
9:  Conditional statement 'if' in a function 'isgraph' should be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/isoc/islower.c
9:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  The expression of the 'essentially Boolean' type is returned from function 'islower' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/isprint.c
9:  Conditional statement 'if' in a function 'isprint' should be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/isoc/ispunct.c
9:  The expression of the 'essentially Boolean' type is returned from function 'ispunct' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
9:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
9:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/isoc/isspace.c
9:  Operands of the '==' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  The expression of the 'essentially Boolean' type is returned from function 'isspace' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/isupper.c
9:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  The expression of the 'essentially Boolean' type is returned from function 'isupper' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/isxdigit.c
9:  Conditional statement 'if' in a function 'isxdigit' should be followed by a block MISRAC2012-RULE_15_6-b-2
9:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
11:  Conditional statement 'if' in a function 'isxdigit' should be followed by a block MISRAC2012-RULE_15_6-b-2
11:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
11:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
13:  Conditional statement 'if' in a function 'isxdigit' should be followed by a block MISRAC2012-RULE_15_6-b-2
13:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
13:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/isoc/newlib/_ansi.h
45:  Do not use reserved identifiers : _ANSIDECL_H_ MISRAC2012-RULE_21_1-a-2
57:  Do not use reserved identifiers : _HAVE_STDC MISRAC2012-RULE_21_1-a-2
61:  Do not use reserved identifiers : _PTR MISRAC2012-RULE_21_1-a-2
62:  Do not use reserved identifiers : _AND MISRAC2012-RULE_21_1-a-2
63:  Do not use reserved identifiers : _NOARGS MISRAC2012-RULE_21_1-a-2
64:  Do not use reserved identifiers : _CONST MISRAC2012-RULE_21_1-a-2
65:  Do not use reserved identifiers : _VOLATILE MISRAC2012-RULE_21_1-a-2
66:  Do not use reserved identifiers : _SIGNED MISRAC2012-RULE_21_1-a-2
67:  Do not use reserved identifiers : _DOTS MISRAC2012-RULE_21_1-a-2
68:  Do not use reserved identifiers : _VOID MISRAC2012-RULE_21_1-a-2
70:  Do not use reserved identifiers : _EXFUN MISRAC2012-RULE_21_1-a-2
71:  Do not use reserved identifiers : _EXPARM MISRAC2012-RULE_21_1-a-2
71:  Each instance of parameter: 'proto' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
73:  Do not use reserved identifiers : _EXFUN MISRAC2012-RULE_21_1-a-2
74:  Do not use reserved identifiers : _EXPARM MISRAC2012-RULE_21_1-a-2
74:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
74:  Each instance of parameter: 'proto' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
76:  Do not use reserved identifiers : _DEFUN MISRAC2012-RULE_21_1-a-2
76:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
77:  Do not use reserved identifiers : _DEFUN_VOID MISRAC2012-RULE_21_1-a-2
77:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
78:  Do not use reserved identifiers : _CAST_VOID MISRAC2012-RULE_21_1-a-2
80:  Do not use reserved identifiers : _LONG_DOUBLE MISRAC2012-RULE_21_1-a-2
83:  Do not use reserved identifiers : _PARAMS MISRAC2012-RULE_21_1-a-2
83:  Each instance of parameter: 'paramlist' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
86:  Do not use reserved identifiers : _PTR MISRAC2012-RULE_21_1-a-2
87:  Do not use reserved identifiers : _AND MISRAC2012-RULE_21_1-a-2
88:  Do not use reserved identifiers : _NOARGS MISRAC2012-RULE_21_1-a-2
89:  Do not use reserved identifiers : _CONST MISRAC2012-RULE_21_1-a-2
90:  Do not use reserved identifiers : _VOLATILE MISRAC2012-RULE_21_1-a-2
91:  Do not use reserved identifiers : _SIGNED MISRAC2012-RULE_21_1-a-2
92:  Do not use reserved identifiers : _DOTS MISRAC2012-RULE_21_1-a-2
93:  Do not use reserved identifiers : _VOID MISRAC2012-RULE_21_1-a-2
94:  Do not use reserved identifiers : _EXFUN MISRAC2012-RULE_21_1-a-2
94:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
95:  Do not use reserved identifiers : _DEFUN MISRAC2012-RULE_21_1-a-2
96:  Do not use reserved identifiers : _DEFUN_VOID MISRAC2012-RULE_21_1-a-2
96:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
97:  Do not use reserved identifiers : _CAST_VOID MISRAC2012-RULE_21_1-a-2
98:  Do not use reserved identifiers : _LONG_DOUBLE MISRAC2012-RULE_21_1-a-2
100:  Do not use reserved identifiers : _PARAMS MISRAC2012-RULE_21_1-a-2
107:  Do not use reserved identifiers : _ATTRIBUTE MISRAC2012-RULE_21_1-a-2
109:  Do not use reserved identifiers : _ATTRIBUTE MISRAC2012-RULE_21_1-a-2
117:  Do not use reserved identifiers : _BEGIN_STD_C MISRAC2012-RULE_21_1-a-2
118:  Do not use reserved identifiers : _END_STD_C MISRAC2012-RULE_21_1-a-2
120:  Do not use reserved identifiers : _BEGIN_STD_C MISRAC2012-RULE_21_1-a-2
121:  Do not use reserved identifiers : _END_STD_C MISRAC2012-RULE_21_1-a-2
125:  Do not use reserved identifiers : _BEGIN_STD_C MISRAC2012-RULE_21_1-a-2
126:  Do not use reserved identifiers : _END_STD_C MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/isoc/newlib/bcmp.c
36:  Identifiers given in declaration of 'bcmp' function (file: 'strings.h', line: '8') are: 's1, s2' not: 'm1, m2' MISRAC2012-RULE_8_3-b-2
41:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'const void' MISRAC2012-RULE_21_16-a-2
41:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const void' MISRAC2012-RULE_21_16-a-2
/optee_os_MISRA/isoc/newlib/memchr.c
76:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
102:  Each instance of parameter: 'MASK' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
102:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
105:  Identifiers given in declaration of 'memchr' function (file: 'string.h', line: '34') are: 'buf' not: 'src_void' MISRAC2012-RULE_8_3-b-2
109:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
153:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
154:  Conditional statement 'if' in a function 'memchr' should be followed by a block MISRAC2012-RULE_15_6-b-2
155:  Cast from 'const unsigned char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
/optee_os_MISRA/isoc/newlib/memcmp.c
75:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
75:  Each instance of parameter: 'Y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
84:  Identifiers given in declaration of 'memcmp' function (file: 'string.h', line: '19') are: 's1, s2' not: 'm1, m2' MISRAC2012-RULE_8_3-b-2
87:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
88:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
90:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
91:  Conditional statement 'if' in a function 'memcmp' should be followed by a block MISRAC2012-RULE_15_6-b-2
92:  The expression of the 'essentially unsigned' type is returned from function 'memcmp' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/newlib/memcpy.c
73:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
73:  Each instance of parameter: 'Y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
85:  Identifiers given in declaration of 'memcpy' function (file: 'string.h', line: '17') are: 's1, s2, n' not: 'dst0, src0, len0' MISRAC2012-RULE_8_3-b-2
106:  Operands of the '&' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
106:  Operands of the '&' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
106:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
106:  The left hand operand of the '&' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
106:  The left hand operand of the '&' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
106:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
107:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
108:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
108:  Pointer to object type 'const char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
 +  112:  "aligned_src" may possibly be null MISRAC2012-DIR_4_1-b-2
127:  Cast from 'const long *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
130:  'while' statement in a function 'memcpy' should be followed by a block MISRAC2012-RULE_15_6-a-2
 +  130:  Integer overflow: value of --len0 will be 18,446,744,073,709,551,615 instead of -1 (result type: 64 bits, unsigned, min: 0, max: 18,446,744,073,709,551,615) MISRAC2012-DIR_4_1-k-2
130:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
 +  131:  "src" may possibly be null MISRAC2012-DIR_4_1-b-2
/optee_os_MISRA/isoc/newlib/memmove.c
76:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
76:  Each instance of parameter: 'Y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
89:  Identifiers given in declaration of 'memmove' function (file: 'string.h', line: '18') are: 's1, s2, n' not: 'dst_void, src_void, length' MISRAC2012-RULE_8_3-b-2
100:  'while' statement in a function 'memmove' should be followed by a block MISRAC2012-RULE_15_6-a-2
100:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
103:  'while' statement in a function 'memmove' should be followed by a block MISRAC2012-RULE_15_6-a-2
 +  103:  Integer overflow: value of --length will be 18,446,744,073,709,551,615 instead of -1 (result type: 64 bits, unsigned, min: 0, max: 18,446,744,073,709,551,615) MISRAC2012-DIR_4_1-k-2
103:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/isoc/newlib/memset.c
72:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
75:  Identifiers given in declaration of 'memset' function (file: 'string.h', line: '20') are: 's' not: 'm' MISRAC2012-RULE_8_3-b-2
125:  'while' statement in a function 'memset' should be followed by a block MISRAC2012-RULE_15_6-a-2
125:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/isoc/newlib/strchr.c
73:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
92:  Each instance of parameter: 'MASK' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
92:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
95:  Identifiers given in declaration of 'strchr' function (file: 'string.h', line: '28') are: 's, c' not: 's1, i' MISRAC2012-RULE_8_3-b-2
100:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
152:  'while' statement in a function 'strchr' should be followed by a block MISRAC2012-RULE_15_6-a-2
152:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  Conditional statement 'if' in a function 'strchr' should be followed by a block MISRAC2012-RULE_15_6-b-2
155:  Cast from 'const unsigned char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
/optee_os_MISRA/isoc/newlib/strcmp.c
78:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
78:  Each instance of parameter: 'Y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
104:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
104:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
104:  The expression of the 'essentially unsigned' type is returned from function 'strcmp' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/newlib/strcpy.c
76:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
76:  Each instance of parameter: 'Y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
94:  Identifiers given in declaration of 'strcpy' function (file: 'string.h', line: '30') are: 'dest, src' not: 'dst0, src0' MISRAC2012-RULE_8_3-b-2
101:  'while' statement in a function 'strcpy' should be followed by a block MISRAC2012-RULE_15_6-a-2
101:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/isoc/newlib/strlen.c
73:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
91:  Identifiers given in declaration of 'strlen' function (file: 'string.h', line: '24') are: 's' not: 'str' MISRAC2012-RULE_8_3-b-2
117:  'while' statement in a function 'strlen' should be followed by a block MISRAC2012-RULE_15_6-a-2
117:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
119:  The expression of the 'essentially signed' type is returned from function 'strlen' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/newlib/strncmp.c
77:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
77:  Each instance of parameter: 'Y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
102:  Conditional statement 'if' in a function 'strncmp' should be followed by a block MISRAC2012-RULE_15_6-b-2
102:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
105:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
107:  Conditional statement 'if' in a function 'strncmp' should be followed by a block MISRAC2012-RULE_15_6-b-2
107:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
113:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
113:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
113:  The expression of the 'essentially unsigned' type is returned from function 'strncmp' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/newlib/strncpy.c
82:  Each instance of parameter: 'X' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
82:  Each instance of parameter: 'Y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
102:  Identifiers given in declaration of 'strncpy' function (file: 'string.h', line: '31') are: 'dest, src, n' not: 'dst0, src0, count' MISRAC2012-RULE_8_3-b-2
113:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
116:  Conditional statement 'if' in a function 'strncpy' should be followed by a block MISRAC2012-RULE_15_6-b-2
119:  'while' statement in a function 'strncpy' should be followed by a block MISRAC2012-RULE_15_6-a-2
 +  119:  Integer overflow: value of --count will be 18,446,744,073,709,551,615 instead of -1 (result type: 64 bits, unsigned, min: 0, max: 18,446,744,073,709,551,615) MISRAC2012-DIR_4_1-k-2
119:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/isoc/newlib/strnlen.c
66:  Do not use reserved identifiers : __STRICT_ANSI__ MISRAC2012-RULE_21_1-a-2
71:  Identifiers given in declaration of 'strnlen' function (file: 'string.h', line: '25') are: 's' not: 'str' MISRAC2012-RULE_8_3-b-2
77:  'while' statement in a function 'strnlen' should be followed by a block MISRAC2012-RULE_15_6-a-2
77:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
77:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
80:  The expression of the 'essentially signed' type is returned from function 'strnlen' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/isoc/newlib/strrchr.c
77:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
79:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
90:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
/optee_os_MISRA/isoc/newlib/strstr.c
81:  Identifiers given in declaration of 'strstr' function (file: 'string.h', line: '29') are: 'big, little' not: 'searchee, lookfor' MISRAC2012-RULE_8_3-b-2
88:  Operands of the '==' operator have different essential types: 'char' and 'signed char' MISRAC2012-RULE_10_4-a-2
90:  Conditional statement 'if' in a function 'strstr' should be followed by a block MISRAC2012-RULE_15_6-b-2
90:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
92:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
95:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
102:  Operands of the '==' operator have different essential types: 'char' and 'signed char' MISRAC2012-RULE_10_4-a-2
104:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
/optee_os_MISRA/isoc/newlib/strtoul.c
158:  Reserved name '_strtoul' used MISRAC2012-RULE_21_2-a-2
172:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
173:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
175:  Operands of the '==' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
177:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
178:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
178:  Operands of the '==' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
178:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
179:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
181:  Operands of the '==' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
181:  Operands of the '==' operator have different essential types: 'unsigned char' and 'char' MISRAC2012-RULE_10_4-a-2
181:  Operands of the '==' operator have different essential types: 'unsigned char' and 'char' MISRAC2012-RULE_10_4-a-2
182:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
186:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
187:  Operands of the '==' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
188:  Operands of the '*' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
189:  Operands of the '*' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
189:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
190:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
190:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
190:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
190:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
191:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
191:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
192:  Operands of the '-=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
192:  The right hand operand of the '-=' operator has essentially character type MISRAC2012-RULE_10_1-c-2
192:  The right hand operand of the '-=' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
193:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
193:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
194:  Operands of the '-=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
194:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
194:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
194:  The right hand operand of the '-=' operator has essentially character type MISRAC2012-RULE_10_1-c-2
194:  The right hand operand of the '-=' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
196:  An 'else' statement in a function '_strtoul' shall be followed by a block MISRAC2012-RULE_15_6-b-2
197:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
199:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
203:  Operands of the '*=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
204:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
208:  Operands of the '*' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
209:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
209:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
209:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
210:  The operand of the unary '-' operator has essentially unsigned type: 'unsigned long' MISRAC2012-RULE_10_1-g-2
211:  Conditional statement 'if' in a function '_strtoul' should be followed by a block MISRAC2012-RULE_15_6-b-2
211:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-a-2
211:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
212:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
212:  Cast from 'const unsigned char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
212:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
212:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/isoc/qsort.c
34:  Names shall be given for all parameters in a function type 'int (const void *, const void *)' MISRAC2012-RULE_8_2-b-2
34:  Names shall be given for all the parameters in function 'med3' MISRAC2012-RULE_8_2-a-2
35:  Names shall be given for all the parameters in function 'swapfunc' MISRAC2012-RULE_8_2-a-2
36:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
36:  Each instance of parameter: 'b' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
42:  Each instance of parameter: 'TYPE' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
42:  Each instance of parameter: 'TYPE' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
43:  Each instance of parameter: 'TYPE' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
43:  Each instance of parameter: 'TYPE' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
50:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
51:  Each instance of parameter: 'es' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
51:  Each instance of parameter: 'es' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
56:  Operands of the '/' operator have different essential types: 'int' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
56:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
56:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
58:  Operands of the '/' operator have different essential types: 'int' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
58:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
66:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
66:  Each instance of parameter: 'b' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
67:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
67:  Each instance of parameter: 'b' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
67:  Each instance of parameter: 'n' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
69:  Names shall be given for all parameters in a function type 'int (const void *, const void *)' MISRAC2012-RULE_8_2-b-2
76:  Names shall be given for all parameters in a function type 'int (const void *, const void *)' MISRAC2012-RULE_8_2-b-2
81:  Operands of the '%' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
81:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
81:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
83:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
84:  'for' statement in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-a-2
85:  'for' statement in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-a-2
87:  An 'else' statement in a function 'qsort' shall be followed by a block MISRAC2012-RULE_15_6-b-2
87:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
87:  The argument number '3' ('essentially unsigned' type) is passed to the function 'swapfunc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
90:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
91:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
93:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
94:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
95:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
95:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
102:  An 'else' statement in a function 'qsort' shall be followed by a block MISRAC2012-RULE_15_6-b-2
102:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
102:  The argument number '3' ('essentially unsigned' type) is passed to the function 'swapfunc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
105:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
107:  Do not use expressions with side effects in the right-hand operand of a logical '&&' operator MISRAC2012-RULE_13_5-a-2
110:  An 'else' statement in a function 'qsort' shall be followed by a block MISRAC2012-RULE_15_6-b-2
110:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
110:  The argument number '3' ('essentially unsigned' type) is passed to the function 'swapfunc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
115:  Do not use expressions with side effects in the right-hand operand of a logical '&&' operator MISRAC2012-RULE_13_5-a-2
118:  An 'else' statement in a function 'qsort' shall be followed by a block MISRAC2012-RULE_15_6-b-2
118:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
118:  The argument number '3' ('essentially unsigned' type) is passed to the function 'swapfunc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
123:  Conditional statement 'if' in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-b-2
125:  An 'else' statement in a function 'qsort' shall be followed by a block MISRAC2012-RULE_15_6-b-2
125:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
125:  The argument number '3' ('essentially unsigned' type) is passed to the function 'swapfunc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
131:  'for' statement in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-a-2
132:  'for' statement in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-a-2
134:  An 'else' statement in a function 'qsort' shall be followed by a block MISRAC2012-RULE_15_6-b-2
134:  Pointer to object type 'char *' is cast to pointer to different object type 'long *' MISRAC2012-RULE_11_3-a-2
134:  The argument number '3' ('essentially unsigned' type) is passed to the function 'swapfunc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
138:  The expression of the 'long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
139:  Conditional statement 'if' in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-b-2
140:  The expression of the 'long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
141:  Conditional statement 'if' in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-b-2
142:  Conditional statement 'if' in a function 'qsort' should be followed by a block MISRAC2012-RULE_15_6-b-2
142:  The expression of the 'long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
143:  Function "qsort" is called recursively MISRAC2012-RULE_17_2-a-2
143:  Operands of the '/' operator have different essential types: 'int' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
144:  The expression of the 'long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
147:  Operands of the '/' operator have different essential types: 'int' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
148:  The goto statement jumps to 'loop' label declared earlier in the same function body MISRAC2012-RULE_15_2-a-2
/optee_os_MISRA/isoc/snprintf.c
9:  Identifiers given in declaration of 'snprintf' function (file: 'stdio.h', line: '19') are: 'str' not: 'bf' MISRAC2012-RULE_8_3-b-2
12:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
12:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
14:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-a-2
14:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-b-2
16:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
16:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
21:  Identifiers given in declaration of 'vsnprintf' function (file: 'stdio.h', line: '21') are: 'str' not: 'bf' MISRAC2012-RULE_8_3-b-2
21:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
21:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
/optee_os_MISRA/isoc/sprintf.c
12:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
12:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
14:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-a-2
14:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-b-2
16:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
16:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
/optee_os_MISRA/isoc/stack_check.c
6:  Arithmetic type 'int' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
6:  Declaration of object '__stack_chk_guard' does not precede its definition MISRAC2012-RULE_8_4-a-2
6:  Reserved name '__stack_chk_guard' used MISRAC2012-RULE_21_2-a-2
8:  Reserved name '__stack_chk_fail' used MISRAC2012-RULE_21_2-a-2
8:  The '__stack_chk_fail' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
10:  Reserved name '__stack_chk_fail' used MISRAC2012-RULE_21_2-a-2
10:  The '__stack_chk_fail' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
12:  'while' statement in a function '__stack_chk_fail' should be followed by a block MISRAC2012-RULE_15_6-a-2
/optee_os_MISRA/isoc/strdup.c
10:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
11:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
11:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
13:  Conditional statement 'if' in a function 'strdup' should be followed by a block MISRAC2012-RULE_15_6-b-2
13:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
14:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/isoc/strndup.c
10:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
11:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
11:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
13:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
14:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
 +  14:  The number of bytes to process by the "memcpy" function is not positive and equals 0 MISRAC2012-RULE_21_18-a-1
14:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
15:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/isoc/tolower.c
9:  Conditional statement 'if' in a function 'tolower' should be followed by a block MISRAC2012-RULE_15_6-b-2
9:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
10:  Operands of the '-' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
10:  The expression of the 'essentially character' type is returned from function 'tolower' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
10:  The right hand operand of the '-' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
/optee_os_MISRA/isoc/toupper.c
9:  Conditional statement 'if' in a function 'toupper' should be followed by a block MISRAC2012-RULE_15_6-b-2
9:  Operands of the '<=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
9:  Operands of the '>=' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
10:  Operands of the '-' operator have different essential types: 'int' and 'char' MISRAC2012-RULE_10_4-a-2
10:  The expression of the 'essentially character' type is returned from function 'toupper' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
10:  The right hand operand of the '-' operator has essentially character type and is used inappropriately MISRAC2012-RULE_10_2-a-2
/optee_os_MISRA/isoc/write.c
12:  Conditional statement 'if' in a function 'write' should be followed by a block MISRAC2012-RULE_15_6-b-2
13:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
15:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
15:  Usage of 'printf' function is not allowed MISRAC2012-RULE_21_6-a-2
/optee_os_MISRA/ldelf/dl.c
15:  Conditional statement 'if' in a function 'dlopen_entry' should be followed by a block MISRAC2012-RULE_15_6-b-2
15:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
15:  The left hand operand of the '|' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
15:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
15:  The right hand operand of the '|' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
16:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
18:  Conditional statement 'if' in a function 'dlopen_entry' should be followed by a block MISRAC2012-RULE_15_6-b-2
18:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
18:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
18:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
29:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
29:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
29:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
31:  Conditional statement 'if' in a function 'dlsym_entry' should be followed by a block MISRAC2012-RULE_15_6-b-2
31:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
32:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/ldelf/include/ldelf.h
8:  Do not use reserved identifiers : __LDELF_H MISRAC2012-RULE_21_1-a-2
70:  Flexible array member 'maps' is declared MISRAC2012-RULE_18_7-a-2
87:  Flexible array member 'symbol' is declared MISRAC2012-RULE_18_7-a-2
/optee_os_MISRA/ldelf/include/ldelf_syscalls.h
13:  Reserved name '_ldelf_return' used MISRAC2012-RULE_21_2-a-2
13:  The '_ldelf_return' function has no definition MISRAC2012-RULE_8_6-a-2
13:  The '_ldelf_return' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
14:  Reserved name '_ldelf_log' used MISRAC2012-RULE_21_2-a-2
14:  The '_ldelf_log' function has no definition MISRAC2012-RULE_8_6-a-2
15:  Reserved name '_ldelf_panic' used MISRAC2012-RULE_21_2-a-2
15:  The '_ldelf_panic' function has no definition MISRAC2012-RULE_8_6-a-2
16:  Reserved name '_ldelf_map_zi' used MISRAC2012-RULE_21_2-a-2
16:  The '_ldelf_map_zi' function has no definition MISRAC2012-RULE_8_6-a-2
18:  Reserved name '_ldelf_unmap' used MISRAC2012-RULE_21_2-a-2
18:  The '_ldelf_unmap' function has no definition MISRAC2012-RULE_8_6-a-2
19:  Reserved name '_ldelf_open_bin' used MISRAC2012-RULE_21_2-a-2
19:  The '_ldelf_open_bin' function has no definition MISRAC2012-RULE_8_6-a-2
21:  Reserved name '_ldelf_close_bin' used MISRAC2012-RULE_21_2-a-2
21:  The '_ldelf_close_bin' function has no definition MISRAC2012-RULE_8_6-a-2
22:  Reserved name '_ldelf_map_bin' used MISRAC2012-RULE_21_2-a-2
22:  The '_ldelf_map_bin' function has no definition MISRAC2012-RULE_8_6-a-2
25:  Reserved name '_ldelf_cp_from_bin' used MISRAC2012-RULE_21_2-a-2
25:  The '_ldelf_cp_from_bin' function has no definition MISRAC2012-RULE_8_6-a-2
27:  Reserved name '_ldelf_set_prot' used MISRAC2012-RULE_21_2-a-2
27:  The '_ldelf_set_prot' function has no definition MISRAC2012-RULE_8_6-a-2
29:  Reserved name '_ldelf_remap' used MISRAC2012-RULE_21_2-a-2
29:  The '_ldelf_remap' function has no definition MISRAC2012-RULE_8_6-a-2
31:  Reserved name '_ldelf_gen_rnd_num' used MISRAC2012-RULE_21_2-a-2
31:  The '_ldelf_gen_rnd_num' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/ldelf/main.c
22:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
26:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
26:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
31:  The 'dump_ta_state' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
35:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
43:  Conditional statement 'if' in a function 'dump_ta_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
46:  An 'else' statement in a function 'dump_ta_state' shall be followed by a block MISRAC2012-RULE_15_6-b-2
60:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
60:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
106:  The 'dl_entry' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
115:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
115:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
116:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
128:  The 'ldelf' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
129:  The 'ldelf' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
136:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
140:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
151:  'for' statement in a function 'ldelf' should be followed by a block MISRAC2012-RULE_15_6-a-2
151:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
152:  The argument number '2' ('essentially unsigned' type) is passed to the function 'ta_elf_load_dependency' as a parameter with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
154:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
167:  'for' statement in a function 'ldelf' should be followed by a block MISRAC2012-RULE_15_6-a-2
167:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
172:  Pointer to function 'void (*)(struct dump_entry_arg *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
172:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
176:  Pointer to function 'void (*)(struct dl_entry_arg *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
176:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
/optee_os_MISRA/ldelf/sys.c
12:  The 'trace_level' object is also defined in other translation units MISRAC2012-RULE_8_6-a-2
13:  The 'trace_ext_prefix' object is also defined in other translation units MISRAC2012-RULE_8_6-a-2
15:  Reserved name '__panic' used MISRAC2012-RULE_21_2-a-2
15:  The '__panic' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
18:  Conditional statement 'if' in a function '__panic' should be followed by a block MISRAC2012-RULE_15_6-b-2
18:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
18:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
21:  An 'else' statement in a function '__panic' shall be followed by a block MISRAC2012-RULE_15_6-b-2
21:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
21:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
21:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
21:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
27:  'while' statement in a function '__panic' should be followed by a block MISRAC2012-RULE_15_6-a-2
31:  The 'sys_return_cleanup' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
35:  'while' statement in a function 'sys_return_cleanup' should be followed by a block MISRAC2012-RULE_15_6-a-2
/optee_os_MISRA/ldelf/sys.h
28:  Reserved name '__panic' used MISRAC2012-RULE_21_2-a-2
28:  The '__panic' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
29:  The 'sys_return_cleanup' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
/optee_os_MISRA/ldelf/ta_elf.c
55:  Conditional statement 'if' in a function 'assign_tls_mod_id' should be followed by a block MISRAC2012-RULE_15_6-b-2
56:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
62:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
62:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
64:  Conditional statement 'if' in a function 'queue_elf_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
64:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
78:  Conditional statement 'if' in a function 'queue_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
78:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
82:  Conditional statement 'if' in a function 'queue_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
82:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
83:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
92:  'for' statement in a function 'ta_elf_find_elf' should be followed by a block MISRAC2012-RULE_15_6-a-2
92:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
93:  Conditional statement 'if' in a function 'ta_elf_find_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
93:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
93:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
93:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
101:  Conditional statement 'if' in a function 'e32_parse_ehdr' should be followed by a block MISRAC2012-RULE_15_6-b-2
101:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
102:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
103:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
104:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
105:  Operands of the '!=' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
105:  Operands of the '!=' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
106:  Integer constant '0xFF000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
106:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
112:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
129:  Conditional statement 'if' in a function 'e64_parse_ehdr' should be followed by a block MISRAC2012-RULE_15_6-b-2
129:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
129:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
130:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
131:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
132:  Operands of the '!=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
133:  Operands of the '!=' operator have different essential types: 'unsigned short' and 'short' MISRAC2012-RULE_10_4-a-2
133:  Operands of the '!=' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
136:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
163:  Conditional statement 'if' in a function 'check_phdr_in_range' should be followed by a block MISRAC2012-RULE_15_6-b-2
164:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
171:  Conditional statement 'if' in a function 'check_phdr_in_range' should be followed by a block MISRAC2012-RULE_15_6-b-2
172:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
182:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
187:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
201:  Conditional statement 'if' in a function 'save_hashtab_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
201:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
206:  Conditional statement 'if' in a function 'save_hashtab_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
209:  An 'else' statement in a function 'save_hashtab_from_segment' shall be followed by a block MISRAC2012-RULE_15_6-b-2
211:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
216:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
217:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
228:  Conditional statement 'if' in a function 'check_range' should be followed by a block MISRAC2012-RULE_15_6-b-2
228:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
229:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
231:  Conditional statement 'if' in a function 'check_range' should be followed by a block MISRAC2012-RULE_15_6-b-2
231:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
232:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
234:  Conditional statement 'if' in a function 'check_range' should be followed by a block MISRAC2012-RULE_15_6-b-2
235:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
252:  Conditional statement 'if' in a function 'check_hashtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
252:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
252:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
252:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
253:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
255:  Conditional statement 'if' in a function 'check_hashtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
258:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
271:  'for' statement in a function 'save_hashtab' should be followed by a block MISRAC2012-RULE_15_6-a-2
278:  'for' statement in a function 'save_hashtab' should be followed by a block MISRAC2012-RULE_15_6-a-2
299:  Conditional statement 'if' in a function 'save_soname_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
299:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
302:  Conditional statement 'if' in a function 'save_soname_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
305:  An 'else' statement in a function 'save_soname_from_segment' shall be followed by a block MISRAC2012-RULE_15_6-b-2
307:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
312:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
319:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
333:  'for' statement in a function 'save_soname' should be followed by a block MISRAC2012-RULE_15_6-a-2
340:  'for' statement in a function 'save_soname' should be followed by a block MISRAC2012-RULE_15_6-a-2
352:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
353:  Conditional statement 'if' in a function 'e32_save_symtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
353:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
353:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
353:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
354:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
358:  Conditional statement 'if' in a function 'e32_save_symtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
358:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
359:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
363:  Conditional statement 'if' in a function 'e32_save_symtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
364:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
365:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
376:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
379:  Conditional statement 'if' in a function 'e64_save_symtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
379:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
379:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
379:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
380:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
385:  Conditional statement 'if' in a function 'e64_save_symtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
385:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
386:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
390:  Conditional statement 'if' in a function 'e64_save_symtab' should be followed by a block MISRAC2012-RULE_15_6-b-2
391:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
393:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
407:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
416:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
436:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
436:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
443:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
446:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
446:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
451:  Operands of the '+' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
455:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
455:  Operands of the '==' operator have different essential types: 'unsigned char' and 'char' MISRAC2012-RULE_10_4-a-2
455:  Operands of the '==' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
456:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
458:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
459:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
459:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
460:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
461:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
461:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
464:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
466:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
468:  Conditional statement 'if' in a function 'init_elf' should be followed by a block MISRAC2012-RULE_15_6-b-2
468:  Operands of the '>' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
469:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
471:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
476:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
476:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
481:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
487:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
487:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
489:  Conditional statement 'if' in a function 'add_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
489:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
490:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
492:  Conditional statement 'if' in a function 'add_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
493:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
512:  'for' statement in a function 'parse_load_segments' should be followed by a block MISRAC2012-RULE_15_6-a-2
513:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
518:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
521:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
521:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
527:  'for' statement in a function 'parse_load_segments' should be followed by a block MISRAC2012-RULE_15_6-a-2
528:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
533:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
533:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
543:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
549:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
549:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
550:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
550:  In the call of the function 'memcpy' the first argument type 'unsigned char*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
550:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
556:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
560:  Conditional statement 'if' in a function 'copy_remapped_to' should be followed by a block MISRAC2012-RULE_15_6-b-2
560:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
566:  Value 30 is out of acceptable range: 'lower than 30' METRIC.CC-3
575:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
578:  Operands of the '>=' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
578:  Potential macro 'SMALL_PAGE_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
579:  Potential macro 'ADD_OVERFLOW' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
581:  Operands of the '&' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
581:  Operands of the '&' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
581:  Potential macro 'SMALL_PAGE_MASK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
581:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
581:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
582:  Potential macro 'SMALL_PAGE_MASK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
584:  Pointer to object type 'struct segment **' is cast to pointer to different object type 'struct segment_head *' MISRAC2012-RULE_11_3-a-2
585:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
590:  Conditional statement 'if' in a function 'adjust_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
590:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
 +  595:  Integer overflow: value of (align - 1) will be 18,446,744,073,709,551,615 instead of -1 (result type: 64 bits, unsigned, min: 0, max: 18,446,744,073,709,551,615) MISRAC2012-DIR_4_1-k-2
595:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
598:  Conditional statement 'if' in a function 'adjust_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
598:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
600:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
601:  Pointer to object type 'struct segment **' is cast to pointer to different object type 'struct segment_head *' MISRAC2012-RULE_11_3-a-2
634:  An 'else' statement in a function 'adjust_segments' shall be followed by a block MISRAC2012-RULE_15_6-b-2
634:  Conditional statement 'if' in a function 'adjust_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
635:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
635:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
641:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
645:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
645:  Potential macro 'PF_W' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
645:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
645:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
669:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
670:  Pointer to object type 'struct segment **' is cast to pointer to different object type 'struct segment_head *' MISRAC2012-RULE_11_3-a-2
675:  Conditional statement 'if' in a function 'populate_segments_legacy' should be followed by a block MISRAC2012-RULE_15_6-b-2
675:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
678:  An 'else' statement in a function 'populate_segments_legacy' shall be followed by a block MISRAC2012-RULE_15_6-b-2
681:  Conditional statement 'if' in a function 'populate_segments_legacy' should be followed by a block MISRAC2012-RULE_15_6-b-2
681:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
681:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
681:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
682:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
686:  Conditional statement 'if' in a function 'populate_segments_legacy' should be followed by a block MISRAC2012-RULE_15_6-b-2
686:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
688:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
690:  Conditional statement 'if' in a function 'populate_segments_legacy' should be followed by a block MISRAC2012-RULE_15_6-b-2
690:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
693:  Conditional statement 'if' in a function 'populate_segments_legacy' should be followed by a block MISRAC2012-RULE_15_6-b-2
693:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
709:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
709:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
709:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
709:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
709:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
 +  711:  Condition "max > min" always evaluates to true MISRAC2012-RULE_14_3-ac-2
713:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
715:  Operands of the '*' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
720:  Operands of the '*' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
726:  Value 35 is out of acceptable range: 'lower than 30' METRIC.CC-3
734:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
735:  Pointer to object type 'struct segment **' is cast to pointer to different object type 'struct segment_head *' MISRAC2012-RULE_11_3-a-2
743:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
747:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
747:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
765:  Operands of the '<' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
772:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
772:  Operands of the '<=' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
781:  Operands of the '-' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
784:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
787:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
787:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
794:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
795:  Operands of the '-=' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
796:  Operands of the '-=' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
797:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
800:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
813:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
813:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
813:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
813:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
816:  An 'else' statement in a function 'populate_segments' shall be followed by a block MISRAC2012-RULE_15_6-b-2
817:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
817:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
817:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
817:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
819:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
819:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
819:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
819:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
820:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
822:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
825:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
825:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
825:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
828:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
828:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
830:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
832:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
832:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
835:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
836:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
841:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
841:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
841:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
846:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
846:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
850:  Conditional statement 'if' in a function 'populate_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
850:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
864:  Operands of the '<' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
867:  Pointer to object type 'struct segment **' is cast to pointer to different object type 'struct segment_head *' MISRAC2012-RULE_11_3-a-2
883:  Conditional statement 'if' in a function 'map_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
883:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
886:  Conditional statement 'if' in a function 'map_segments' should be followed by a block MISRAC2012-RULE_15_6-b-2
886:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
891:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
907:  Conditional statement 'if' in a function 'add_deps_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
907:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
912:  Conditional statement 'if' in a function 'add_deps_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
915:  An 'else' statement in a function 'add_deps_from_segment' shall be followed by a block MISRAC2012-RULE_15_6-b-2
917:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
920:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
920:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
920:  The second clause of a 'for' statement contains objects that are modified inside the loop body: 'str_tab', 'str_tab_sz' MISRAC2012-RULE_14_2-c-2
922:  Conditional statement 'if' in a function 'add_deps_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
922:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
924:  Conditional statement 'if' in a function 'add_deps_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
924:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
924:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
931:  Conditional statement 'if' in a function 'add_deps_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
931:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
933:  Conditional statement 'if' in a function 'add_deps_from_segment' should be followed by a block MISRAC2012-RULE_15_6-b-2
934:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
936:  Unused function's "tee_uuid_from_str" return value MISRAC2012-RULE_17_7-a-2
937:  Unused function's "queue_elf" return value MISRAC2012-RULE_17_7-a-2
948:  'for' statement in a function 'add_dependencies' should be followed by a block MISRAC2012-RULE_15_6-a-2
954:  'for' statement in a function 'add_dependencies' should be followed by a block MISRAC2012-RULE_15_6-a-2
966:  Conditional statement 'if' in a function 'copy_section_headers' should be followed by a block MISRAC2012-RULE_15_6-b-2
967:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
969:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
969:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
970:  Conditional statement 'if' in a function 'copy_section_headers' should be followed by a block MISRAC2012-RULE_15_6-b-2
970:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
971:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
978:  Operands of the '<' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
980:  Operands of the '-' operator have different essential types: 'short' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
980:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
980:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
981:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
981:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
989:  Conditional statement 'if' in a function 'copy_section_headers' should be followed by a block MISRAC2012-RULE_15_6-b-2
989:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
998:  Conditional statement 'if' in a function 'close_handle' should be followed by a block MISRAC2012-RULE_15_6-b-2
998:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1000:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1011:  Conditional statement 'if' in a function 'clean_elf_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1011:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1020:  Conditional statement 'if' in a function 'clean_elf_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1024:  An 'else' statement in a function 'clean_elf_load_main' shall be followed by a block MISRAC2012-RULE_15_6-b-2
1027:  Conditional statement 'if' in a function 'clean_elf_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1027:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1030:  An 'else' statement in a function 'clean_elf_load_main' shall be followed by a block MISRAC2012-RULE_15_6-b-2
1030:  Conditional statement 'if' in a function 'clean_elf_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1031:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
1031:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
1034:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
1034:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
1035:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1049:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1051:  Conditional statement 'if' in a function 'set_tls_offset' should be followed by a block MISRAC2012-RULE_15_6-b-2
1051:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1105:  Conditional statement 'if' in a function 'load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1106:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1120:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1125:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1127:  Conditional statement 'if' in a function 'ta_elf_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1127:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1130:  Conditional statement 'if' in a function 'ta_elf_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1130:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1131:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1148:  Conditional statement 'if' in a function 'ta_elf_finalize_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1148:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1151:  Conditional statement 'if' in a function 'ta_elf_finalize_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1151:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1154:  Conditional statement 'if' in a function 'ta_elf_finalize_load_main' should be followed by a block MISRAC2012-RULE_15_6-b-2
1157:  An 'else' statement in a function 'ta_elf_finalize_load_main' shall be followed by a block MISRAC2012-RULE_15_6-b-2
1163:  Conditional statement 'if' in a function 'ta_elf_load_dependency' should be followed by a block MISRAC2012-RULE_15_6-b-2
1167:  Conditional statement 'if' in a function 'ta_elf_load_dependency' should be followed by a block MISRAC2012-RULE_15_6-b-2
1168:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1186:  Conditional statement 'if' in a function 'ta_elf_finalize_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1189:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1193:  Conditional statement 'if' in a function 'ta_elf_finalize_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1193:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1193:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1193:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1195:  Conditional statement 'if' in a function 'ta_elf_finalize_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1195:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1195:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1195:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1199:  Conditional statement 'if' in a function 'ta_elf_finalize_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1199:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1207:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
1207:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
1209:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-a-2
1209:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-b-2
1211:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
1211:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
1225:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
1228:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1229:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
1232:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1233:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
1237:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
1242:  Conditional statement 'if' in a function 'print_seg' should be followed by a block MISRAC2012-RULE_15_6-b-2
1242:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1244:  Conditional statement 'if' in a function 'print_seg' should be followed by a block MISRAC2012-RULE_15_6-b-2
1244:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1246:  Conditional statement 'if' in a function 'print_seg' should be followed by a block MISRAC2012-RULE_15_6-b-2
1246:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1248:  Conditional statement 'if' in a function 'print_seg' should be followed by a block MISRAC2012-RULE_15_6-b-2
1248:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1267:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1267:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1270:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1270:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1270:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1270:  Potential macro 'NULL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1272:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1274:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1280:  Conditional statement 'if' in a function 'get_next_in_order' should be followed by a block MISRAC2012-RULE_15_6-b-2
1280:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1285:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1287:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1294:  Conditional statement 'if' in a function 'get_next_in_order' should be followed by a block MISRAC2012-RULE_15_6-b-2
1294:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1318:  Unused function's "get_next_in_order" return value MISRAC2012-RULE_17_7-a-2
1320:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1325:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1342:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1343:  Operands of the '==' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
1347:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1349:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1352:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1354:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1359:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
1360:  Conditional statement 'if' in a function 'ta_elf_print_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1371:  Conditional statement 'if' in a function 'ta_elf_print_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1371:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1375:  Conditional statement 'if' in a function 'ta_elf_print_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1375:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1375:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1375:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1377:  Conditional statement 'if' in a function 'ta_elf_print_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1377:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1377:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1377:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1379:  Conditional statement 'if' in a function 'ta_elf_print_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1379:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1379:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1379:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1382:  The argument number '4' ('essentially unsigned' type) is passed to the function 'print_seg' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
1385:  Conditional statement 'if' in a function 'ta_elf_print_mappings' should be followed by a block MISRAC2012-RULE_15_6-b-2
1390:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1406:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1407:  Conditional statement 'if' in a function 'find_exidx' should be followed by a block MISRAC2012-RULE_15_6-b-2
1410:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1411:  Conditional statement 'if' in a function 'find_exidx' should be followed by a block MISRAC2012-RULE_15_6-b-2
1429:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
1443:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1448:  Conditional statement 'if' in a function 'ta_elf_add_library' should be followed by a block MISRAC2012-RULE_15_6-b-2
1448:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1452:  Conditional statement 'if' in a function 'ta_elf_add_library' should be followed by a block MISRAC2012-RULE_15_6-b-2
1452:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1453:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1455:  'for' statement in a function 'ta_elf_add_library' should be followed by a block MISRAC2012-RULE_15_6-a-2
1455:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1458:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1463:  'for' statement in a function 'ta_elf_add_library' should be followed by a block MISRAC2012-RULE_15_6-a-2
1463:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1468:  Conditional statement 'if' in a function 'ta_elf_add_library' should be followed by a block MISRAC2012-RULE_15_6-b-2
1468:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1487:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1487:  Potential macro 'PT_DYNAMIC' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1499:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1504:  Conditional statement 'if' in a function 'get_init_fini_array' should be followed by a block MISRAC2012-RULE_15_6-b-2
1504:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1506:  Conditional statement 'if' in a function 'get_init_fini_array' should be followed by a block MISRAC2012-RULE_15_6-b-2
1506:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1508:  Conditional statement 'if' in a function 'get_init_fini_array' should be followed by a block MISRAC2012-RULE_15_6-b-2
1508:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1510:  Conditional statement 'if' in a function 'get_init_fini_array' should be followed by a block MISRAC2012-RULE_15_6-b-2
1510:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1510:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
1526:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1539:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1559:  Reserved name '__init_fini' used MISRAC2012-RULE_21_2-a-2
1568:  Do not use reserved identifiers : __IFS_VALID MISRAC2012-RULE_21_1-a-2
1569:  Do not use reserved identifiers : __IFS_INIT_HAS_RUN MISRAC2012-RULE_21_1-a-2
1570:  Do not use reserved identifiers : __IFS_FINI_HAS_RUN MISRAC2012-RULE_21_1-a-2
1572:  Reserved name '__init_fini_info' used MISRAC2012-RULE_21_2-a-2
1581:  Reserved name '__init_fini32' used MISRAC2012-RULE_21_2-a-2
1589:  Reserved name '__init_fini_info32' used MISRAC2012-RULE_21_2-a-2
1606:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1607:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
1607:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
1608:  Conditional statement 'if' in a function 'realloc_ifs' should be followed by a block MISRAC2012-RULE_15_6-b-2
1608:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1609:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1612:  Conditional statement 'if' in a function 'realloc_ifs' should be followed by a block MISRAC2012-RULE_15_6-b-2
1613:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1616:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1618:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
1618:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
1619:  Conditional statement 'if' in a function 'realloc_ifs' should be followed by a block MISRAC2012-RULE_15_6-b-2
1619:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1620:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1623:  Conditional statement 'if' in a function 'realloc_ifs' should be followed by a block MISRAC2012-RULE_15_6-b-2
1624:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1627:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1648:  Conditional statement 'if' in a function 'fill_ifs' should be followed by a block MISRAC2012-RULE_15_6-b-2
1648:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1655:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1658:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1665:  Conditional statement 'if' in a function 'fill_ifs' should be followed by a block MISRAC2012-RULE_15_6-b-2
1665:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1672:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1675:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1694:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1695:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1704:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1707:  Conditional statement 'if' in a function 'ta_elf_set_init_fini_info_compat' should be followed by a block MISRAC2012-RULE_15_6-b-2
1707:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1708:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1710:  'for' statement in a function 'ta_elf_set_init_fini_info_compat' should be followed by a block MISRAC2012-RULE_15_6-a-2
1710:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1714:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1717:  Conditional statement 'if' in a function 'ta_elf_set_init_fini_info_compat' should be followed by a block MISRAC2012-RULE_15_6-b-2
1717:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1721:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1727:  The identifier 'err' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
1727:  The identifier 'err' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
1728:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
1728:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
1742:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1743:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
1743:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
1744:  Conditional statement 'if' in a function 'realloc_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1744:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1745:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1748:  Conditional statement 'if' in a function 'realloc_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1749:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1752:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1754:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
1754:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
1755:  Conditional statement 'if' in a function 'realloc_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1755:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1756:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1759:  Conditional statement 'if' in a function 'realloc_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1760:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1763:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1781:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1782:  Conditional statement 'if' in a function 'fill_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1782:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1783:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1785:  An 'else' statement in a function 'fill_elf_phdr_info' shall be followed by a block MISRAC2012-RULE_15_6-b-2
1785:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1786:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1786:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1787:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1790:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1791:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1797:  Conditional statement 'if' in a function 'fill_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1797:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1800:  An 'else' statement in a function 'fill_elf_phdr_info' shall be followed by a block MISRAC2012-RULE_15_6-b-2
1802:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
1806:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1820:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1821:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1827:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1830:  Conditional statement 'if' in a function 'ta_elf_set_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1830:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1831:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1833:  'for' statement in a function 'ta_elf_set_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-a-2
1833:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1837:  Conditional statement 'if' in a function 'ta_elf_set_elf_phdr_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
1837:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1841:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/ldelf/ta_elf.h
92:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
92:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
/optee_os_MISRA/ldelf/ta_elf_rel.c
25:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
27:  Integer constant '0xf0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
28:  Conditional statement 'if' in a function 'elf_hash' should be followed by a block MISRAC2012-RULE_15_6-b-2
28:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
35:  Reserved name '__resolve_sym' used MISRAC2012-RULE_21_2-a-2
42:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
42:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
44:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
45:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
46:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
46:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
48:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
48:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
48:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
50:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
52:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
52:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
53:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
53:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
57:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
57:  Operands of the '==' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
57:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
64:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
65:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
67:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
67:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
71:  Conditional statement 'if' in a function '__resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
71:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
74:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
74:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
75:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
99:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
99:  The loop counter is modified inside the 'for' loop body MISRAC2012-RULE_14_2-a-2
99:  The second clause of a 'for' statement contains an object that is modified inside the loop body: 'n' MISRAC2012-RULE_14_2-c-2
99:  The third clause of a 'for' statement contains an object that is modified in the 'for' loop body MISRAC2012-RULE_14_2-d-2
100:  Conditional statement 'if' in a function 'resolve_sym_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
101:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
110:  Conditional statement 'if' in a function 'resolve_sym_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
111:  The value of a composite expression (8 bit essential type) is passed to function '__resolve_sym' as parameter with wider essential type (32 bit) MISRAC2012-RULE_10_6-a-2
112:  Operands of the '&' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
112:  The argument number '3' ('essentially signed' type) is passed to the function '__resolve_sym' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
112:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
121:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
121:  The loop counter is modified inside the 'for' loop body MISRAC2012-RULE_14_2-a-2
121:  The second clause of a 'for' statement contains an object that is modified inside the loop body: 'n' MISRAC2012-RULE_14_2-c-2
121:  The third clause of a 'for' statement contains an object that is modified in the 'for' loop body MISRAC2012-RULE_14_2-d-2
122:  Conditional statement 'if' in a function 'resolve_sym_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
123:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
132:  Conditional statement 'if' in a function 'resolve_sym_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
133:  The value of a composite expression (8 bit essential type) is passed to function '__resolve_sym' as parameter with wider essential type (32 bit) MISRAC2012-RULE_10_6-a-2
134:  Operands of the '&' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
134:  The argument number '3' ('essentially signed' type) is passed to the function '__resolve_sym' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
134:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
142:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
159:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
161:  Conditional statement 'if' in a function 'ta_elf_resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
161:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
165:  Conditional statement 'if' in a function 'ta_elf_resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
165:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
170:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
171:  Conditional statement 'if' in a function 'ta_elf_resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
171:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
174:  Conditional statement 'if' in a function 'ta_elf_resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
174:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
179:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
182:  Conditional statement 'if' in a function 'ta_elf_resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
182:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
194:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
195:  Conditional statement 'if' in a function 'e32_get_sym_name' should be followed by a block MISRAC2012-RULE_15_6-b-2
196:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
200:  Conditional statement 'if' in a function 'e32_get_sym_name' should be followed by a block MISRAC2012-RULE_15_6-b-2
201:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
209:  Conditional statement 'if' in a function 'resolve_sym' should be followed by a block MISRAC2012-RULE_15_6-b-2
209:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
222:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
232:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
233:  Conditional statement 'if' in a function 'e32_tls_get_module' should be followed by a block MISRAC2012-RULE_15_6-b-2
234:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
236:  Operands of the '!=' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
236:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
255:  Value 41 is out of acceptable range: 'lower than 30' METRIC.CC-3
267:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
267:  Potential macro 'SHT_REL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
272:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
275:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
276:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
282:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
284:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
285:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
286:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
294:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
295:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
296:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
302:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
304:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
305:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
306:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
316:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
318:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
319:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
320:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
331:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
332:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
345:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
346:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
347:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
349:  Operands of the '==' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
354:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
359:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
360:  Conditional statement 'if' in a function 'e32_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
361:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
366:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
377:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
382:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
384:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
384:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
385:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
400:  Conditional statement 'if' in a function 'e64_get_sym_name' should be followed by a block MISRAC2012-RULE_15_6-b-2
401:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
405:  Conditional statement 'if' in a function 'e64_get_sym_name' should be followed by a block MISRAC2012-RULE_15_6-b-2
406:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
433:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
440:  Operands of the '+' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
449:  The 'tlsdesc_resolve' function has no definition MISRAC2012-RULE_8_6-a-2
469:  Pointer to function 'long (*)(struct tlsdesc *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
474:  Value 38 is out of acceptable range: 'lower than 30' METRIC.CC-3
486:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
486:  Potential macro 'SHT_RELA' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
491:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
494:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
495:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
501:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
503:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
504:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
505:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
513:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
514:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
515:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
521:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
523:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
524:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
525:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
535:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
537:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
538:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
539:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
548:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
549:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
554:  Operands of the '&' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
554:  The right hand operand of the '&' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
564:  Conditional statement 'if' in a function 'e64_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
565:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
568:  Operands of the '==' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
573:  Operands of the '+' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
578:  Operands of the '+' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
595:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
595:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
596:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
596:  Operands of the '&' operator have different essential types: 'unsigned long' and 'long' MISRAC2012-RULE_10_4-a-2
596:  The right hand operand of the '&' operator has essentially signed type: long MISRAC2012-RULE_10_1-e-2
616:  'for' statement in a function 'ta_elf_relocate' should be followed by a block MISRAC2012-RULE_15_6-a-2
617:  Conditional statement 'if' in a function 'ta_elf_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
617:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
618:  The argument number '2' (8 byte essential type) is passed to the function 'e32_relocate' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
622:  'for' statement in a function 'ta_elf_relocate' should be followed by a block MISRAC2012-RULE_15_6-a-2
623:  Conditional statement 'if' in a function 'ta_elf_relocate' should be followed by a block MISRAC2012-RULE_15_6-b-2
623:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
624:  The argument number '2' (8 byte essential type) is passed to the function 'e64_relocate' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/libdl/dlfcn.c
15:  Variable 'sess' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
22:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
24:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
25:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
27:  Conditional statement 'if' in a function 'invoke_system_pta' should be followed by a block MISRAC2012-RULE_15_6-b-2
27:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
30:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
43:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
46:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
46:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
47:  Conditional statement 'if' in a function 'dlopen' should be followed by a block MISRAC2012-RULE_15_6-b-2
47:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
52:  Conditional statement 'if' in a function 'dlopen' should be followed by a block MISRAC2012-RULE_15_6-b-2
52:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
55:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
55:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
55:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
55:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
55:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
55:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
55:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
61:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
62:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
65:  Conditional statement 'if' in a function 'dlopen' should be followed by a block MISRAC2012-RULE_15_6-b-2
65:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
76:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
76:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
82:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
82:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
84:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
84:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
86:  '0' is assigned to expression of pointer type MISRAC2012-RULE_11_9-b-2
93:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
99:  Conditional statement 'if' in a function 'dlsym' should be followed by a block MISRAC2012-RULE_15_6-b-2
99:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
102:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
102:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
102:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
102:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
102:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
102:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
102:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
108:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
109:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
110:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
110:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
113:  Conditional statement 'if' in a function 'dlsym' should be followed by a block MISRAC2012-RULE_15_6-b-2
113:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
114:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
/optee_os_MISRA/libdl/include/dlfcn.h
7:  Do not use reserved identifiers : _DLFCN_H_ MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libunw/unwind_arm32.c
101:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
108:  The expression of the 'essentially unsigned' type is returned from function 'expand_prel31' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
127:  Conditional statement 'if' in a function 'find_index' should be followed by a block MISRAC2012-RULE_15_6-b-2
133:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
136:  Operands of the '+' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
136:  Operands of the '/' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
141:  Operands of the '+' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
143:  Conditional statement 'if' in a function 'find_index' should be followed by a block MISRAC2012-RULE_15_6-b-2
146:  An 'else' statement in a function 'find_index' shall be followed by a block MISRAC2012-RULE_15_6-b-2
146:  Operands of the '-' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
158:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
158:  Conditional statement 'if' in a function 'unwind_exec_read_byte' should be followed by a block MISRAC2012-RULE_15_6-b-2
162:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
162:  Operands of the '*' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
162:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
165:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
179:  Conditional statement 'if' in a function 'pop_vsp' should be followed by a block MISRAC2012-RULE_15_6-b-2
181:  Conditional statement 'if' in a function 'pop_vsp' should be followed by a block MISRAC2012-RULE_15_6-b-2
184:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
184:  Conditional statement 'if' in a function 'pop_vsp' should be followed by a block MISRAC2012-RULE_15_6-b-2
199:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
202:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
202:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
202:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
203:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
203:  Operands of the '+' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
203:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
205:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
205:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
205:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
206:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
206:  Operands of the '+' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
206:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
208:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
208:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
208:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
213:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
215:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
215:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
218:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
218:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
225:  Operands of the '<' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
225:  The 'for' loop contains more than one loop counter MISRAC2012-RULE_14_2-a-2
225:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
225:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
226:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
226:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
226:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
227:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
230:  Operands of the '|=' operator have different essential types: 'unsigned short' and 'int' MISRAC2012-RULE_10_4-a-2
230:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
230:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
233:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
233:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
238:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
238:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
238:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
239:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
239:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
239:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
240:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
240:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
240:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
243:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
243:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
245:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
245:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
245:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
249:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
249:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
255:  Operands of the '+' operator have different essential types: 'signed char' and 'unsigned int' MISRAC2012-RULE_10_4-a-2
256:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
259:  Operands of the '|=' operator have different essential types: 'unsigned short' and 'int' MISRAC2012-RULE_10_4-a-2
259:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
259:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
263:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
263:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
263:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
264:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
269:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
273:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
277:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
279:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
279:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
279:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
279:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
279:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
286:  Operands of the '<' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
286:  The 'for' loop contains more than one loop counter MISRAC2012-RULE_14_2-a-2
286:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
286:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
287:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
287:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
287:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
288:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
291:  Operands of the '|=' operator have different essential types: 'unsigned short' and 'int' MISRAC2012-RULE_10_4-a-2
291:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
291:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
295:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
295:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
295:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
299:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
302:  Operands of the '+' operator have different essential types: 'short' and 'unsigned int' MISRAC2012-RULE_10_4-a-2
310:  Conditional statement 'if' in a function 'unwind_exec_insn' should be followed by a block MISRAC2012-RULE_15_6-b-2
310:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
311:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
326:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
332:  Integer constant '0xff000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
334:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
337:  Integer constant '0x81000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
339:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
339:  Operands of the '+' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
339:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
345:  Operands of the '>' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
346:  Conditional statement 'if' in a function 'unwind_tab' should be followed by a block MISRAC2012-RULE_15_6-b-2
353:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
359:  Conditional statement 'if' in a function 'unwind_tab' should be followed by a block MISRAC2012-RULE_15_6-b-2
360:  Operands of the '|=' operator have different essential types: 'unsigned short' and 'int' MISRAC2012-RULE_10_4-a-2
360:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
360:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
384:  Operands of the '-' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
385:  Conditional statement 'if' in a function 'unwind_stack_arm32' should be followed by a block MISRAC2012-RULE_15_6-b-2
385:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
 +  388:  Value of "finished" is never used MISRAC2012-RULE_2_2-b-2
389:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
390:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
395:  Operands of the '+' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
404:  Conditional statement 'if' in a function 'unwind_stack_arm32' should be followed by a block MISRAC2012-RULE_15_6-b-2
404:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/libunw/unwind_arm64.c
43:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
43:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
43:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
47:  Identifiers given in declaration of 'unwind_stack_arm64' function (file: 'unwind.h', line: '95') are: 'state' not: 'frame' MISRAC2012-RULE_8_3-b-2
52:  Conditional statement 'if' in a function 'unwind_stack_arm64' should be followed by a block MISRAC2012-RULE_15_6-b-2
54:  Conditional statement 'if' in a function 'unwind_stack_arm64' should be followed by a block MISRAC2012-RULE_15_6-b-2
54:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
57:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
59:  Conditional statement 'if' in a function 'unwind_stack_arm64' should be followed by a block MISRAC2012-RULE_15_6-b-2
61:  Conditional statement 'if' in a function 'unwind_stack_arm64' should be followed by a block MISRAC2012-RULE_15_6-b-2
61:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
64:  Conditional statement 'if' in a function 'unwind_stack_arm64' should be followed by a block MISRAC2012-RULE_15_6-b-2
64:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
69:  Operands of the '-=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/libutee/abort.c
11:  The 'abort' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
13:  Unused function's "printf" return value MISRAC2012-RULE_17_7-a-2
13:  Usage of 'printf' function is not allowed MISRAC2012-RULE_21_6-a-2
16:  'while' statement in a function 'abort' should be followed by a block MISRAC2012-RULE_15_6-a-2
/optee_os_MISRA/libutee/arch/arm/tcb.c
62:  A tag name 'dtv' is reused MISRAC2012-RULE_5_7-a-2
69:  Flexible array member 'tls' is declared MISRAC2012-RULE_18_7-a-2
76:  Reserved name '_tcb' used MISRAC2012-RULE_21_2-a-2
77:  Reserved name '_tls_size' used MISRAC2012-RULE_21_2-a-2
86:  Reserved name '__utee_tcb_init' used MISRAC2012-RULE_21_2-a-2
100:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
110:  Conditional statement 'if' in a function '__utee_tcb_init' should be followed by a block MISRAC2012-RULE_15_6-b-2
114:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
114:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
115:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
117:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
121:  Operands of the '*' operator have different essential types: 'int' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
121:  Operands of the '+' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
122:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
122:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
123:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
125:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
134:  Conditional statement 'if' in a function '__utee_tcb_init' should be followed by a block MISRAC2012-RULE_15_6-b-2
134:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
140:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
142:  In the call of the function 'memcpy' the first argument type 'unsigned char*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
142:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
143:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
146:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
168:  Reserved name '__tls_get_addr' used MISRAC2012-RULE_21_2-a-2
170:  Reserved name '__tls_get_addr' used MISRAC2012-RULE_21_2-a-2
175:  Names shall be given for all parameters in a function type 'int (struct dl_phdr_info *, size_t, void *)' MISRAC2012-RULE_8_2-b-2
190:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
190:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
191:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
193:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
197:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
200:  Conditional statement 'if' in a function 'dl_iterate_phdr' should be followed by a block MISRAC2012-RULE_15_6-b-2
200:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
205:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
205:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/libutee/arch/arm/user_ta_entry.c
26:  A tag name 'ta_sessions' is reused MISRAC2012-RULE_5_7-a-2
32:  The 'ta_heap' object has no definition MISRAC2012-RULE_8_6-a-2
33:  The 'ta_heap_size' object has no definition MISRAC2012-RULE_8_6-a-2
34:  A tag name 'ta_head' is reused MISRAC2012-RULE_5_7-a-2
34:  The 'ta_head' object has no definition MISRAC2012-RULE_8_6-a-2
38:  A tag name '__elf_phdr_info' is reused MISRAC2012-RULE_5_7-a-2
38:  Reserved name '__elf_phdr_info' used MISRAC2012-RULE_21_2-a-2
45:  Reserved name '__phdr_info_head' used MISRAC2012-RULE_21_2-a-2
51:  Reserved name '_num_mod_init' used MISRAC2012-RULE_21_2-a-2
53:  Reserved name '_init_iterate_phdr_cb' used MISRAC2012-RULE_21_2-a-2
59:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
59:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
60:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
62:  The 'abort' library function should not be used MISRAC2012-RULE_21_8-a-2
70:  Reserved name '_get_fn_array' used MISRAC2012-RULE_21_2-a-2
81:  Conditional statement 'if' in a function '_get_fn_array' should be followed by a block MISRAC2012-RULE_15_6-b-2
81:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
86:  Conditional statement 'if' in a function '_get_fn_array' should be followed by a block MISRAC2012-RULE_15_6-b-2
86:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
86:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
93:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
101:  Reserved name '__utee_call_elf_init_fn' used MISRAC2012-RULE_21_2-a-2
111:  Unused function's "dl_iterate_phdr" return value MISRAC2012-RULE_17_7-a-2
114:  Pointer to object type 'struct phdr_info **' is cast to pointer to different object type 'struct phdr_info_head *' MISRAC2012-RULE_11_3-a-2
114:  Pointer to object type 'struct phdr_info **' is cast to pointer to different object type 'struct phdr_info_head *' MISRAC2012-RULE_11_3-a-2
114:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
115:  Conditional statement 'if' in a function '__utee_call_elf_init_fn' should be followed by a block MISRAC2012-RULE_15_6-b-2
119:  'for' statement in a function '__utee_call_elf_init_fn' should be followed by a block MISRAC2012-RULE_15_6-a-2
127:  Do not use expressions with side effects in the right-hand operand of a logical '&&' operator MISRAC2012-RULE_13_5-a-2
127:  The second clause of a 'for' statement contains an expression that has a persistent side effect MISRAC2012-RULE_14_2-c-2
128:  An 'else' statement in a function '__utee_call_elf_init_fn' shall be followed by a block MISRAC2012-RULE_15_6-b-2
128:  Conditional statement 'if' in a function '__utee_call_elf_init_fn' should be followed by a block MISRAC2012-RULE_15_6-b-2
129:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
129:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
133:  Reserved name '_fini_iterate_phdr_cb' used MISRAC2012-RULE_21_2-a-2
142:  'for' statement in a function '_fini_iterate_phdr_cb' should be followed by a block MISRAC2012-RULE_15_6-a-2
148:  Reserved name '__utee_call_elf_fini_fn' used MISRAC2012-RULE_21_2-a-2
150:  Unused function's "dl_iterate_phdr" return value MISRAC2012-RULE_17_7-a-2
176:  Conditional statement 'if' in a function 'ta_header_save_params' should be followed by a block MISRAC2012-RULE_15_6-b-2
176:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
177:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
179:  An 'else' statement in a function 'ta_header_save_params' shall be followed by a block MISRAC2012-RULE_15_6-b-2
179:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
186:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
187:  Conditional statement 'if' in a function 'ta_header_get_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
198:  Conditional statement 'if' in a function 'ta_header_add_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
198:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
204:  Conditional statement 'if' in a function 'ta_header_add_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
204:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
208:  The argument number '1' (8 byte essential type) is passed to the function 'TEE_Malloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
209:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
210:  Conditional statement 'if' in a function 'ta_header_add_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
210:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
211:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
213:  '0' is assigned to expression of pointer type MISRAC2012-RULE_11_9-a-2
213:  '0' is assigned to expression of pointer type MISRAC2012-RULE_11_9-b-2
224:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
226:  An 'else' statement in a function 'ta_header_remove_session' shall be followed by a block MISRAC2012-RULE_15_6-b-2
226:  Conditional statement 'if' in a function 'ta_header_remove_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
230:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
230:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
230:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
230:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
230:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
231:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
231:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
231:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
232:  Conditional statement 'if' in a function 'ta_header_remove_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
246:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
247:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
247:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
247:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
251:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
252:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
252:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
257:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
257:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
258:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
258:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
261:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
262:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
262:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
273:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
275:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
276:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
277:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
277:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
279:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
279:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
279:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
283:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
284:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
289:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
290:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
293:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
293:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
297:  Conditional statement 'if' in a function 'from_utee_params' should be followed by a block MISRAC2012-RULE_15_6-b-2
297:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
309:  The argument number '1' (8 byte essential type) is passed to the function 'ta_header_add_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
310:  Conditional statement 'if' in a function 'entry_open_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
310:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
313:  The argument number '1' (8 byte essential type) is passed to the function 'ta_header_get_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
314:  Conditional statement 'if' in a function 'entry_open_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
314:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
315:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
325:  Conditional statement 'if' in a function 'entry_open_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
325:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
326:  The argument number '1' (8 byte essential type) is passed to the function 'ta_header_remove_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
332:  The argument number '1' (8 byte essential type) is passed to the function 'ta_header_get_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
334:  Conditional statement 'if' in a function 'entry_close_session' should be followed by a block MISRAC2012-RULE_15_6-b-2
334:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
335:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
339:  The argument number '1' (8 byte essential type) is passed to the function 'ta_header_remove_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
349:  The argument number '1' (8 byte essential type) is passed to the function 'ta_header_get_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
351:  Conditional statement 'if' in a function 'entry_invoke_command' should be followed by a block MISRAC2012-RULE_15_6-b-2
351:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
352:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
357:  The argument number '2' (8 byte essential type) is passed to the function 'TA_InvokeCommandEntryPoint' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
364:  Reserved name '__utee_entry' used MISRAC2012-RULE_21_2-a-2
370:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
373:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
376:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
380:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/libutee/assert.c
13:  Reserved name '_assert_log' used MISRAC2012-RULE_21_2-a-2
13:  The '_assert_log' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
22:  Reserved name '_assert_break' used MISRAC2012-RULE_21_2-a-2
22:  The '_assert_break' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
22:  The '_assert_break' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
24:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
26:  'while' statement in a function '_assert_break' should be followed by a block MISRAC2012-RULE_15_6-a-2
/optee_os_MISRA/libutee/base64.c
11:  Reserved name '_base64_enc_len' used MISRAC2012-RULE_21_2-a-2
13:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
13:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
13:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
13:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
16:  Identifiers given in declaration of '_base64_enc' function (file: 'base64.h', line: '12') are: 'size' not: 'dlen' MISRAC2012-RULE_8_3-b-2
16:  Reserved name '_base64_enc' used MISRAC2012-RULE_21_2-a-2
28:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
34:  Conditional statement 'if' in a function '_base64_enc' should be followed by a block MISRAC2012-RULE_15_6-b-2
34:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
35:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
38:  Conditional statement 'if' in a function '_base64_enc' should be followed by a block MISRAC2012-RULE_15_6-b-2
38:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
39:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
41:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
41:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
42:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
42:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
42:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
43:  Conditional statement 'if' in a function '_base64_enc' should be followed by a block MISRAC2012-RULE_15_6-b-2
43:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
44:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
44:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
44:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
46:  An 'else' statement in a function '_base64_enc' shall be followed by a block MISRAC2012-RULE_15_6-b-2
46:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
47:  Conditional statement 'if' in a function '_base64_enc' should be followed by a block MISRAC2012-RULE_15_6-b-2
47:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
48:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
48:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
48:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
50:  An 'else' statement in a function '_base64_enc' shall be followed by a block MISRAC2012-RULE_15_6-b-2
50:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
52:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
66:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
73:  Reserved name '_base64_dec' used MISRAC2012-RULE_21_2-a-2
84:  Conditional statement 'if' in a function '_base64_dec' should be followed by a block MISRAC2012-RULE_15_6-b-2
87:  Conditional statement 'if' in a function '_base64_dec' should be followed by a block MISRAC2012-RULE_15_6-b-2
96:  Conditional statement 'if' in a function '_base64_dec' should be followed by a block MISRAC2012-RULE_15_6-b-2
96:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  Operands of the '&' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
99:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
99:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
99:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
103:  Conditional statement 'if' in a function '_base64_dec' should be followed by a block MISRAC2012-RULE_15_6-b-2
103:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
106:  Operands of the '&' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
106:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
106:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
106:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
110:  Conditional statement 'if' in a function '_base64_dec' should be followed by a block MISRAC2012-RULE_15_6-b-2
110:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
124:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
124:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
124:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/libutee/base64.h
12:  Reserved name '_base64_enc' used MISRAC2012-RULE_21_2-a-2
13:  Reserved name '_base64_dec' used MISRAC2012-RULE_21_2-a-2
14:  Reserved name '_base64_enc_len' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/libutee/include/__tee_ipsocket.h
7:  Do not use reserved identifiers : ____TEE_IPSOCKET_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/__tee_isocket_defines.h
6:  Do not use reserved identifiers : ____TEE_ISOCKET_DEFINES_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/__tee_tcpsocket_defines.h
7:  Do not use reserved identifiers : ____TEE_TCPSOCKET_DEFINES_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/__tee_tcpsocket_defines_extensions.h
7:  Do not use reserved identifiers : ____TEE_TCPSOCKET_DEFINES_EXTENSIONS_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/__tee_udpsocket_defines.h
7:  Do not use reserved identifiers : ____TEE_UDPSOCKET_DEFINES_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/arm64_user_sysreg.h
33:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_cntfrq' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/libutee/include/elf.h
6:  Do not use reserved identifiers : _ELF_H_ MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/elf32.h
31:  Do not use reserved identifiers : _SYS_ELF32_H_ MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/elf64.h
31:  Do not use reserved identifiers : _SYS_ELF64_H_ MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/elf_common.h
32:  Do not use reserved identifiers : _SYS_ELF_COMMON_H_ MISRAC2012-RULE_21_1-a-2
88:  Octal escape sequence in "\177ELF" is not correctly terminated MISRAC2012-RULE_4_1-a-2
/optee_os_MISRA/libutee/include/link.h
7:  Do not use reserved identifiers : _LINK_H_ MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/pta_device.h
11:  Do not use reserved identifiers : __PTA_DEVICE_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/pta_secstor_ta_mgmt.h
7:  Do not use reserved identifiers : __PTA_SECSTOR_TA_MGMT_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/pta_socket.h
7:  Do not use reserved identifiers : __PTA_SOCKET MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/pta_system.h
7:  Do not use reserved identifiers : __PTA_SYSTEM_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/tee_api.h
169:  The identifier 'TEE_CloseAndDeletePersistentObject1' has the same first 31 characters of the name as the identifier 'TEE_CloseAndDeletePersistentObject' defined in the 'tee_api.h' file in line '167' MISRAC2012-RULE_5_1-a-2
436:  The 'TEE_BigIntFMMConvertToBigInt' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/libutee/include/tee_api_defines.h
22:  The macro 'TEE_ERROR_STORAGE_NOT_AVAILABLE_2' has the same name (or the first 31 characters of the name) as the macro defined in line 21 MISRAC2012-RULE_5_4-c-2
149:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA224' has the same name (or the first 31 characters of the name) as the macro defined in line 148 MISRAC2012-RULE_5_4-c-2
150:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA256' has the same name (or the first 31 characters of the name) as the macro defined in line 148 MISRAC2012-RULE_5_4-c-2
150:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA256' has the same name (or the first 31 characters of the name) as the macro defined in line 149 MISRAC2012-RULE_5_4-c-2
151:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA384' has the same name (or the first 31 characters of the name) as the macro defined in line 148 MISRAC2012-RULE_5_4-c-2
151:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA384' has the same name (or the first 31 characters of the name) as the macro defined in line 149 MISRAC2012-RULE_5_4-c-2
151:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA384' has the same name (or the first 31 characters of the name) as the macro defined in line 150 MISRAC2012-RULE_5_4-c-2
152:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 148 MISRAC2012-RULE_5_4-c-2
152:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 149 MISRAC2012-RULE_5_4-c-2
152:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 150 MISRAC2012-RULE_5_4-c-2
152:  The macro 'TEE_ALG_RSASSA_PKCS1_PSS_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 151 MISRAC2012-RULE_5_4-c-2
155:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA224' has the same name (or the first 31 characters of the name) as the macro defined in line 154 MISRAC2012-RULE_5_4-c-2
156:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA256' has the same name (or the first 31 characters of the name) as the macro defined in line 154 MISRAC2012-RULE_5_4-c-2
156:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA256' has the same name (or the first 31 characters of the name) as the macro defined in line 155 MISRAC2012-RULE_5_4-c-2
157:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA384' has the same name (or the first 31 characters of the name) as the macro defined in line 154 MISRAC2012-RULE_5_4-c-2
157:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA384' has the same name (or the first 31 characters of the name) as the macro defined in line 155 MISRAC2012-RULE_5_4-c-2
157:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA384' has the same name (or the first 31 characters of the name) as the macro defined in line 156 MISRAC2012-RULE_5_4-c-2
158:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 154 MISRAC2012-RULE_5_4-c-2
158:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 155 MISRAC2012-RULE_5_4-c-2
158:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 156 MISRAC2012-RULE_5_4-c-2
158:  The macro 'TEE_ALG_RSAES_PKCS1_OAEP_MGF1_SHA512' has the same name (or the first 31 characters of the name) as the macro defined in line 157 MISRAC2012-RULE_5_4-c-2
270:  The macro 'TEE_ATTR_ECC_EPHEMERAL_PUBLIC_VALUE_Y' has the same name (or the first 31 characters of the name) as the macro defined in line 269 MISRAC2012-RULE_5_4-c-2
306:  The macro 'TEE_PANIC_ID_TEE_GETPROPERTYASBOOL' has the same name (or the first 31 characters of the name) as the macro defined in line 305 MISRAC2012-RULE_5_4-c-2
310:  The macro 'TEE_PANIC_ID_TEE_GETPROPERTYASUUID' has the same name (or the first 31 characters of the name) as the macro defined in line 309 MISRAC2012-RULE_5_4-c-2
343:  The macro 'TEE_PANIC_ID_TEE_RESTRICTOBJECTUSAGE1' has the same name (or the first 31 characters of the name) as the macro defined in line 341 MISRAC2012-RULE_5_4-c-2
354:  The macro 'TEE_PANIC_ID_TEE_COPYOBJECTATTRIBUTES1' has the same name (or the first 31 characters of the name) as the macro defined in line 347 MISRAC2012-RULE_5_4-c-2
361:  The macro 'TEE_PANIC_ID_TEE_CLOSEANDDELETEPERSISTENTOBJECT1' has the same name (or the first 31 characters of the name) as the macro defined in line 357 MISRAC2012-RULE_5_4-c-2
380:  The macro 'TEE_PANIC_ID_TEE_SETOPERATIONKEY2' has the same name (or the first 31 characters of the name) as the macro defined in line 379 MISRAC2012-RULE_5_4-c-2
381:  The macro 'TEE_PANIC_ID_TEE_GETOPERATIONINFOMULTIPLE' has the same name (or the first 31 characters of the name) as the macro defined in line 377 MISRAC2012-RULE_5_4-c-2
424:  The macro 'TEE_PANIC_ID_TEE_BIGINTCONVERTFROMS32' has the same name (or the first 31 characters of the name) as the macro defined in line 423 MISRAC2012-RULE_5_4-c-2
426:  The macro 'TEE_PANIC_ID_TEE_BIGINTCONVERTTOS32' has the same name (or the first 31 characters of the name) as the macro defined in line 425 MISRAC2012-RULE_5_4-c-2
453:  The macro 'TEE_PANIC_ID_TEE_BIGINTCONVERTFROMFMM' has the same name (or the first 31 characters of the name) as the macro defined in line 423 MISRAC2012-RULE_5_4-c-2
453:  The macro 'TEE_PANIC_ID_TEE_BIGINTCONVERTFROMFMM' has the same name (or the first 31 characters of the name) as the macro defined in line 424 MISRAC2012-RULE_5_4-c-2
454:  The macro 'TEE_PANIC_ID_TEE_BIGINTCONVERTTOFMM' has the same name (or the first 31 characters of the name) as the macro defined in line 425 MISRAC2012-RULE_5_4-c-2
454:  The macro 'TEE_PANIC_ID_TEE_BIGINTCONVERTTOFMM' has the same name (or the first 31 characters of the name) as the macro defined in line 426 MISRAC2012-RULE_5_4-c-2
473:  Each instance of parameter: 't' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/libutee/include/tee_api_types.h
155:  Flexible array member 'keyInformation' is declared MISRAC2012-RULE_18_7-a-2
/optee_os_MISRA/libutee/include/tee_arith_internal.h
58:  Reserved name '_TEE_MathAPI_Init' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/libutee/include/tee_internal_api_extensions.h
16:  The 'tee_user_mem_mark_heap' function has no definition MISRAC2012-RULE_8_6-a-2
17:  The 'tee_user_mem_check_heap' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/libutee/include/tee_isocket.h
7:  Do not use reserved identifiers : __TEE_ISOCKET_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/tee_ta_api.h
47:  The 'TA_CreateEntryPoint' function has no definition MISRAC2012-RULE_8_6-a-2
69:  The 'TA_DestroyEntryPoint' function has no definition MISRAC2012-RULE_8_6-a-2
120:  The 'TA_OpenSessionEntryPoint' function has no definition MISRAC2012-RULE_8_6-a-2
139:  The 'TA_CloseSessionEntryPoint' function has no definition MISRAC2012-RULE_8_6-a-2
172:  The 'TA_InvokeCommandEntryPoint' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/libutee/include/tee_tcpsocket.h
7:  Do not use reserved identifiers : __TEE_TCPSOCKET_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/tee_udpsocket.h
7:  Do not use reserved identifiers : __TEE_UDPSOCKET_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/libutee/include/user_ta_header.h
37:  An external identifier with the same name 'ta_head' was declared in the 'user_ta_entry.c' file in line 34 MISRAC2012-RULE_5_8-a-2
83:  Reserved name '__utee_call_elf_init_fn' used MISRAC2012-RULE_21_2-a-2
84:  Reserved name '__utee_call_elf_fini_fn' used MISRAC2012-RULE_21_2-a-2
86:  Reserved name '__utee_tcb_init' used MISRAC2012-RULE_21_2-a-2
92:  An external identifier with the same name '__elf_phdr_info' was declared in the 'user_ta_entry.c' file in line 38 MISRAC2012-RULE_5_8-a-2
92:  An external identifier with the same name '__elf_phdr_info' was declared in the 'user_ta_header.h' file in line 109 MISRAC2012-RULE_5_8-a-2
92:  Reserved name '__elf_phdr_info' used MISRAC2012-RULE_21_2-a-2
101:  Reserved name '__elf_phdr_info32' used MISRAC2012-RULE_21_2-a-2
109:  A tag name '__elf_phdr_info' is reused MISRAC2012-RULE_5_7-a-2
109:  Reserved name '__elf_phdr_info' used MISRAC2012-RULE_21_2-a-2
134:  The 'ta_props' object has no definition MISRAC2012-RULE_8_6-a-2
135:  The 'ta_num_props' object has no definition MISRAC2012-RULE_8_6-a-2
141:  The 'tahead_get_trace_level' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/libutee/include/utee_defines.h
55:  Reserved name '__tee_alg_get_class' used MISRAC2012-RULE_21_2-a-2
57:  Conditional statement 'if' in a function '__tee_alg_get_class' should be followed by a block MISRAC2012-RULE_15_6-b-2
57:  Integer constant '0x80000045' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
59:  Conditional statement 'if' in a function '__tee_alg_get_class' should be followed by a block MISRAC2012-RULE_15_6-b-2
59:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
61:  Conditional statement 'if' in a function '__tee_alg_get_class' should be followed by a block MISRAC2012-RULE_15_6-b-2
61:  Integer constant '0xF0000830' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
63:  Conditional statement 'if' in a function '__tee_alg_get_class' should be followed by a block MISRAC2012-RULE_15_6-b-2
63:  Integer constant '0xF0000613' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
66:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
66:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
71:  Reserved name '__tee_alg_get_main_alg' used MISRAC2012-RULE_21_2-a-2
74:  Integer constant '0x80000045' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
79:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
79:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
82:  Operands of the '&' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
82:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
96:  Do not use reserved identifiers : __TEE_MAIN_HASH_SM3 MISRAC2012-RULE_21_1-a-2
98:  Reserved name '__tee_alg_get_digest_hash' used MISRAC2012-RULE_21_2-a-2
100:  Conditional statement 'if' in a function '__tee_alg_get_digest_hash' should be followed by a block MISRAC2012-RULE_15_6-b-2
100:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
104:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
104:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
112:  Reserved name '__tee_alg_get_key_type' used MISRAC2012-RULE_21_2-a-2
114:  Integer constant '0xA0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
116:  Conditional statement 'if' in a function '__tee_alg_get_key_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
117:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
117:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
123:  Each instance of parameter: 'algo' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
123:  Each instance of parameter: 'with_private_key' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
125:  Reserved name '__tee_alg_hash_algo' used MISRAC2012-RULE_21_2-a-2
127:  Conditional statement 'if' in a function '__tee_alg_hash_algo' should be followed by a block MISRAC2012-RULE_15_6-b-2
127:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
130:  Operands of the '|' operator have different essential types: 'int' and 'unsigned int' MISRAC2012-RULE_10_4-a-2
130:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
130:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
164:  The left hand operand of the '+' operator has essentially enum type: t_hash_size MISRAC2012-RULE_10_1-d-2
164:  The right hand operand of the '+' operator has essentially enum type: t_hash_size MISRAC2012-RULE_10_1-d-2
174:  Reserved name '__tee_alg_get_digest_size' used MISRAC2012-RULE_21_2-a-2
179:  The expression of the 'essentially Enum' type is returned from function '__tee_alg_get_digest_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
183:  The expression of the 'essentially Enum' type is returned from function '__tee_alg_get_digest_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
187:  The expression of the 'essentially Enum' type is returned from function '__tee_alg_get_digest_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
191:  The expression of the 'essentially Enum' type is returned from function '__tee_alg_get_digest_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
194:  The expression of the 'essentially Enum' type is returned from function '__tee_alg_get_digest_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
197:  The expression of the 'essentially Enum' type is returned from function '__tee_alg_get_digest_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
200:  The expression of the 'essentially Enum' type is returned from function '__tee_alg_get_digest_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
209:  Integer constant '0xF0000613' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/libutee/include/utee_syscalls.h
32:  Reserved name '_utee_return' used MISRAC2012-RULE_21_2-a-2
32:  The '_utee_return' function has no definition MISRAC2012-RULE_8_6-a-2
32:  The '_utee_return' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
34:  Reserved name '_utee_log' used MISRAC2012-RULE_21_2-a-2
34:  The '_utee_log' function has no definition MISRAC2012-RULE_8_6-a-2
37:  Reserved name '_utee_panic' used MISRAC2012-RULE_21_2-a-2
37:  The '_utee_panic' function has no definition MISRAC2012-RULE_8_6-a-2
40:  Reserved name '_utee_get_property' used MISRAC2012-RULE_21_2-a-2
40:  The '_utee_get_property' function has no definition MISRAC2012-RULE_8_6-a-2
44:  Reserved name '_utee_get_property_name_to_index' used MISRAC2012-RULE_21_2-a-2
44:  The '_utee_get_property_name_to_index' function has no definition MISRAC2012-RULE_8_6-a-2
50:  Reserved name '_utee_open_ta_session' used MISRAC2012-RULE_21_2-a-2
50:  The '_utee_open_ta_session' function has no definition MISRAC2012-RULE_8_6-a-2
56:  Reserved name '_utee_close_ta_session' used MISRAC2012-RULE_21_2-a-2
56:  The '_utee_close_ta_session' function has no definition MISRAC2012-RULE_8_6-a-2
59:  Reserved name '_utee_invoke_ta_command' used MISRAC2012-RULE_21_2-a-2
59:  The '_utee_invoke_ta_command' function has no definition MISRAC2012-RULE_8_6-a-2
65:  Reserved name '_utee_check_access_rights' used MISRAC2012-RULE_21_2-a-2
65:  The '_utee_check_access_rights' function has no definition MISRAC2012-RULE_8_6-a-2
69:  Reserved name '_utee_get_cancellation_flag' used MISRAC2012-RULE_21_2-a-2
69:  The '_utee_get_cancellation_flag' function has no definition MISRAC2012-RULE_8_6-a-2
72:  Reserved name '_utee_unmask_cancellation' used MISRAC2012-RULE_21_2-a-2
72:  The '_utee_unmask_cancellation' function has no definition MISRAC2012-RULE_8_6-a-2
75:  Reserved name '_utee_mask_cancellation' used MISRAC2012-RULE_21_2-a-2
75:  The '_utee_mask_cancellation' function has no definition MISRAC2012-RULE_8_6-a-2
77:  Reserved name '_utee_wait' used MISRAC2012-RULE_21_2-a-2
77:  The '_utee_wait' function has no definition MISRAC2012-RULE_8_6-a-2
80:  Reserved name '_utee_get_time' used MISRAC2012-RULE_21_2-a-2
80:  The '_utee_get_time' function has no definition MISRAC2012-RULE_8_6-a-2
82:  Reserved name '_utee_set_ta_time' used MISRAC2012-RULE_21_2-a-2
82:  The '_utee_set_ta_time' function has no definition MISRAC2012-RULE_8_6-a-2
84:  Reserved name '_utee_cryp_state_alloc' used MISRAC2012-RULE_21_2-a-2
84:  The '_utee_cryp_state_alloc' function has no definition MISRAC2012-RULE_8_6-a-2
87:  Reserved name '_utee_cryp_state_copy' used MISRAC2012-RULE_21_2-a-2
87:  The '_utee_cryp_state_copy' function has no definition MISRAC2012-RULE_8_6-a-2
88:  Reserved name '_utee_cryp_state_free' used MISRAC2012-RULE_21_2-a-2
88:  The '_utee_cryp_state_free' function has no definition MISRAC2012-RULE_8_6-a-2
91:  Reserved name '_utee_hash_init' used MISRAC2012-RULE_21_2-a-2
91:  The '_utee_hash_init' function has no definition MISRAC2012-RULE_8_6-a-2
92:  Reserved name '_utee_hash_update' used MISRAC2012-RULE_21_2-a-2
92:  The '_utee_hash_update' function has no definition MISRAC2012-RULE_8_6-a-2
94:  Reserved name '_utee_hash_final' used MISRAC2012-RULE_21_2-a-2
94:  The '_utee_hash_final' function has no definition MISRAC2012-RULE_8_6-a-2
97:  Reserved name '_utee_cipher_init' used MISRAC2012-RULE_21_2-a-2
97:  The '_utee_cipher_init' function has no definition MISRAC2012-RULE_8_6-a-2
99:  Reserved name '_utee_cipher_update' used MISRAC2012-RULE_21_2-a-2
99:  The '_utee_cipher_update' function has no definition MISRAC2012-RULE_8_6-a-2
101:  Reserved name '_utee_cipher_final' used MISRAC2012-RULE_21_2-a-2
101:  The '_utee_cipher_final' function has no definition MISRAC2012-RULE_8_6-a-2
105:  Reserved name '_utee_cryp_obj_get_info' used MISRAC2012-RULE_21_2-a-2
105:  The '_utee_cryp_obj_get_info' function has no definition MISRAC2012-RULE_8_6-a-2
106:  Reserved name '_utee_cryp_obj_restrict_usage' used MISRAC2012-RULE_21_2-a-2
106:  The '_utee_cryp_obj_restrict_usage' function has no definition MISRAC2012-RULE_8_6-a-2
108:  Reserved name '_utee_cryp_obj_get_attr' used MISRAC2012-RULE_21_2-a-2
108:  The '_utee_cryp_obj_get_attr' function has no definition MISRAC2012-RULE_8_6-a-2
113:  Reserved name '_utee_cryp_obj_alloc' used MISRAC2012-RULE_21_2-a-2
113:  The '_utee_cryp_obj_alloc' function has no definition MISRAC2012-RULE_8_6-a-2
115:  Reserved name '_utee_cryp_obj_close' used MISRAC2012-RULE_21_2-a-2
115:  The '_utee_cryp_obj_close' function has no definition MISRAC2012-RULE_8_6-a-2
116:  Reserved name '_utee_cryp_obj_reset' used MISRAC2012-RULE_21_2-a-2
116:  The '_utee_cryp_obj_reset' function has no definition MISRAC2012-RULE_8_6-a-2
117:  Reserved name '_utee_cryp_obj_populate' used MISRAC2012-RULE_21_2-a-2
117:  The '_utee_cryp_obj_populate' function has no definition MISRAC2012-RULE_8_6-a-2
120:  Reserved name '_utee_cryp_obj_copy' used MISRAC2012-RULE_21_2-a-2
120:  The '_utee_cryp_obj_copy' function has no definition MISRAC2012-RULE_8_6-a-2
122:  Reserved name '_utee_cryp_obj_generate_key' used MISRAC2012-RULE_21_2-a-2
122:  The '_utee_cryp_obj_generate_key' function has no definition MISRAC2012-RULE_8_6-a-2
127:  Reserved name '_utee_cryp_derive_key' used MISRAC2012-RULE_21_2-a-2
127:  The '_utee_cryp_derive_key' function has no definition MISRAC2012-RULE_8_6-a-2
132:  Reserved name '_utee_cryp_random_number_generate' used MISRAC2012-RULE_21_2-a-2
132:  The '_utee_cryp_random_number_generate' function has no definition MISRAC2012-RULE_8_6-a-2
134:  Reserved name '_utee_authenc_init' used MISRAC2012-RULE_21_2-a-2
134:  The '_utee_authenc_init' function has no definition MISRAC2012-RULE_8_6-a-2
137:  Reserved name '_utee_authenc_update_aad' used MISRAC2012-RULE_21_2-a-2
137:  The '_utee_authenc_update_aad' function has no definition MISRAC2012-RULE_8_6-a-2
139:  Reserved name '_utee_authenc_update_payload' used MISRAC2012-RULE_21_2-a-2
139:  The '_utee_authenc_update_payload' function has no definition MISRAC2012-RULE_8_6-a-2
142:  Reserved name '_utee_authenc_enc_final' used MISRAC2012-RULE_21_2-a-2
142:  The '_utee_authenc_enc_final' function has no definition MISRAC2012-RULE_8_6-a-2
146:  Reserved name '_utee_authenc_dec_final' used MISRAC2012-RULE_21_2-a-2
146:  The '_utee_authenc_dec_final' function has no definition MISRAC2012-RULE_8_6-a-2
151:  Reserved name '_utee_asymm_operate' used MISRAC2012-RULE_21_2-a-2
151:  The '_utee_asymm_operate' function has no definition MISRAC2012-RULE_8_6-a-2
157:  Reserved name '_utee_asymm_verify' used MISRAC2012-RULE_21_2-a-2
157:  The '_utee_asymm_verify' function has no definition MISRAC2012-RULE_8_6-a-2
164:  Reserved name '_utee_storage_obj_open' used MISRAC2012-RULE_21_2-a-2
164:  The '_utee_storage_obj_open' function has no definition MISRAC2012-RULE_8_6-a-2
172:  Reserved name '_utee_storage_obj_create' used MISRAC2012-RULE_21_2-a-2
172:  The '_utee_storage_obj_create' function has no definition MISRAC2012-RULE_8_6-a-2
179:  Reserved name '_utee_storage_obj_del' used MISRAC2012-RULE_21_2-a-2
179:  The '_utee_storage_obj_del' function has no definition MISRAC2012-RULE_8_6-a-2
182:  Reserved name '_utee_storage_obj_rename' used MISRAC2012-RULE_21_2-a-2
182:  The '_utee_storage_obj_rename' function has no definition MISRAC2012-RULE_8_6-a-2
187:  Reserved name '_utee_storage_alloc_enum' used MISRAC2012-RULE_21_2-a-2
187:  The '_utee_storage_alloc_enum' function has no definition MISRAC2012-RULE_8_6-a-2
191:  Reserved name '_utee_storage_free_enum' used MISRAC2012-RULE_21_2-a-2
191:  The '_utee_storage_free_enum' function has no definition MISRAC2012-RULE_8_6-a-2
194:  Reserved name '_utee_storage_reset_enum' used MISRAC2012-RULE_21_2-a-2
194:  The '_utee_storage_reset_enum' function has no definition MISRAC2012-RULE_8_6-a-2
197:  Reserved name '_utee_storage_start_enum' used MISRAC2012-RULE_21_2-a-2
197:  The '_utee_storage_start_enum' function has no definition MISRAC2012-RULE_8_6-a-2
201:  Reserved name '_utee_storage_next_enum' used MISRAC2012-RULE_21_2-a-2
201:  The '_utee_storage_next_enum' function has no definition MISRAC2012-RULE_8_6-a-2
206:  Reserved name '_utee_storage_obj_read' used MISRAC2012-RULE_21_2-a-2
206:  The '_utee_storage_obj_read' function has no definition MISRAC2012-RULE_8_6-a-2
210:  Reserved name '_utee_storage_obj_write' used MISRAC2012-RULE_21_2-a-2
210:  The '_utee_storage_obj_write' function has no definition MISRAC2012-RULE_8_6-a-2
214:  Reserved name '_utee_storage_obj_trunc' used MISRAC2012-RULE_21_2-a-2
214:  The '_utee_storage_obj_trunc' function has no definition MISRAC2012-RULE_8_6-a-2
218:  Reserved name '_utee_storage_obj_seek' used MISRAC2012-RULE_21_2-a-2
218:  The '_utee_storage_obj_seek' function has no definition MISRAC2012-RULE_8_6-a-2
222:  Reserved name '_utee_se_service_open' used MISRAC2012-RULE_21_2-a-2
222:  The '_utee_se_service_open' function has no definition MISRAC2012-RULE_8_6-a-2
225:  Reserved name '_utee_se_service_close' used MISRAC2012-RULE_21_2-a-2
225:  The '_utee_se_service_close' function has no definition MISRAC2012-RULE_8_6-a-2
231:  Reserved name '_utee_se_service_get_readers' used MISRAC2012-RULE_21_2-a-2
231:  The '_utee_se_service_get_readers' function has no definition MISRAC2012-RULE_8_6-a-2
238:  Reserved name '_utee_se_reader_get_prop' used MISRAC2012-RULE_21_2-a-2
238:  The '_utee_se_reader_get_prop' function has no definition MISRAC2012-RULE_8_6-a-2
241:  Reserved name '_utee_se_reader_get_name' used MISRAC2012-RULE_21_2-a-2
241:  The '_utee_se_reader_get_name' function has no definition MISRAC2012-RULE_8_6-a-2
248:  Reserved name '_utee_se_reader_open_session' used MISRAC2012-RULE_21_2-a-2
248:  The '_utee_se_reader_open_session' function has no definition MISRAC2012-RULE_8_6-a-2
251:  Reserved name '_utee_se_reader_close_sessions' used MISRAC2012-RULE_21_2-a-2
251:  The '_utee_se_reader_close_sessions' function has no definition MISRAC2012-RULE_8_6-a-2
254:  Reserved name '_utee_se_session_is_closed' used MISRAC2012-RULE_21_2-a-2
254:  The '_utee_se_session_is_closed' function has no definition MISRAC2012-RULE_8_6-a-2
257:  Reserved name '_utee_se_session_get_atr' used MISRAC2012-RULE_21_2-a-2
257:  The '_utee_se_session_get_atr' function has no definition MISRAC2012-RULE_8_6-a-2
264:  Reserved name '_utee_se_session_open_channel' used MISRAC2012-RULE_21_2-a-2
264:  The '_utee_se_session_open_channel' function has no definition MISRAC2012-RULE_8_6-a-2
270:  Reserved name '_utee_se_session_close' used MISRAC2012-RULE_21_2-a-2
270:  The '_utee_se_session_close' function has no definition MISRAC2012-RULE_8_6-a-2
273:  Reserved name '_utee_se_channel_select_next' used MISRAC2012-RULE_21_2-a-2
273:  The '_utee_se_channel_select_next' function has no definition MISRAC2012-RULE_8_6-a-2
276:  Reserved name '_utee_se_channel_get_select_resp' used MISRAC2012-RULE_21_2-a-2
276:  The '_utee_se_channel_get_select_resp' function has no definition MISRAC2012-RULE_8_6-a-2
280:  Reserved name '_utee_se_channel_transmit' used MISRAC2012-RULE_21_2-a-2
280:  The '_utee_se_channel_transmit' function has no definition MISRAC2012-RULE_8_6-a-2
284:  Reserved name '_utee_se_channel_close' used MISRAC2012-RULE_21_2-a-2
284:  The '_utee_se_channel_close' function has no definition MISRAC2012-RULE_8_6-a-2
287:  Reserved name '_utee_cache_operation' used MISRAC2012-RULE_21_2-a-2
287:  The '_utee_cache_operation' function has no definition MISRAC2012-RULE_8_6-a-2
289:  Reserved name '_utee_gprof_send' used MISRAC2012-RULE_21_2-a-2
289:  The '_utee_gprof_send' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/libutee/tee_api.c
27:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
41:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
43:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
43:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
43:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
58:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
58:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
59:  The argument number '3' (8 byte essential type) is passed to the function 'TEE_CheckMemoryAccessRights' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
59:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
61:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
61:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
65:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
65:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
69:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
71:  Conditional statement 'if' in a function 'copy_param' should be followed by a block MISRAC2012-RULE_15_6-b-2
71:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
72:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
78:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
79:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
79:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
79:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
82:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
83:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
83:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
92:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
92:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
93:  Conditional statement 'if' in a function 'copy_param' should be followed by a block MISRAC2012-RULE_15_6-b-2
93:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
93:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
93:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
93:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
95:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
99:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
99:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
100:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
100:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
103:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
104:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
104:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
117:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
119:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
120:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
121:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
121:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
123:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
123:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
123:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
126:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
127:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
131:  Conditional statement 'if' in a function 'update_out_param' should be followed by a block MISRAC2012-RULE_15_6-b-2
131:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
132:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
133:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
133:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
134:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
137:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
137:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
156:  Conditional statement 'if' in a function 'TEE_OpenTASession' should be followed by a block MISRAC2012-RULE_15_6-b-2
156:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
158:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
163:  Conditional statement 'if' in a function 'TEE_OpenTASession' should be followed by a block MISRAC2012-RULE_15_6-b-2
163:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
168:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
171:  Conditional statement 'if' in a function 'TEE_OpenTASession' should be followed by a block MISRAC2012-RULE_15_6-b-2
171:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
181:  Conditional statement 'if' in a function 'TEE_OpenTASession' should be followed by a block MISRAC2012-RULE_15_6-b-2
181:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
184:  The expression of type 'uintptr_t' should not be cast to pointer to incomplete type 'struct __TEE_TASessionHandle *' MISRAC2012-RULE_11_2-a-2
190:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
191:  Pointer to incomplete type 'struct __TEE_TASessionHandle *' should not be cast to type 'uintptr_t' MISRAC2012-RULE_11_2-a-2
193:  Conditional statement 'if' in a function 'TEE_CloseTASession' should be followed by a block MISRAC2012-RULE_15_6-b-2
193:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
211:  Conditional statement 'if' in a function 'TEE_InvokeTACommand' should be followed by a block MISRAC2012-RULE_15_6-b-2
211:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
213:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
215:  Conditional statement 'if' in a function 'TEE_InvokeTACommand' should be followed by a block MISRAC2012-RULE_15_6-b-2
215:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
220:  Conditional statement 'if' in a function 'TEE_InvokeTACommand' should be followed by a block MISRAC2012-RULE_15_6-b-2
220:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
222:  Pointer to incomplete type 'struct __TEE_TASessionHandle *' should not be cast to type 'uintptr_t' MISRAC2012-RULE_11_2-a-2
226:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
229:  Conditional statement 'if' in a function 'TEE_InvokeTACommand' should be followed by a block MISRAC2012-RULE_15_6-b-2
229:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
234:  Conditional statement 'if' in a function 'TEE_InvokeTACommand' should be followed by a block MISRAC2012-RULE_15_6-b-2
237:  Conditional statement 'if' in a function 'TEE_InvokeTACommand' should be followed by a block MISRAC2012-RULE_15_6-b-2
237:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
240:  Conditional statement 'if' in a function 'TEE_InvokeTACommand' should be followed by a block MISRAC2012-RULE_15_6-b-2
240:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
241:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
242:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
255:  Conditional statement 'if' in a function 'TEE_GetCancellationFlag' should be followed by a block MISRAC2012-RULE_15_6-b-2
255:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
257:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
265:  Conditional statement 'if' in a function 'TEE_UnmaskCancellation' should be followed by a block MISRAC2012-RULE_15_6-b-2
265:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
267:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
275:  Conditional statement 'if' in a function 'TEE_MaskCancellation' should be followed by a block MISRAC2012-RULE_15_6-b-2
275:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
277:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
287:  Conditional statement 'if' in a function 'TEE_CheckMemoryAccessRights' should be followed by a block MISRAC2012-RULE_15_6-b-2
287:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
292:  Conditional statement 'if' in a function 'TEE_CheckMemoryAccessRights' should be followed by a block MISRAC2012-RULE_15_6-b-2
292:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
327:  The argument number '2' ('essentially unsigned' type) is passed to the function 'memset' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
334:  The argument number '1' ('essentially Enum' type) is passed to the function '_utee_get_time' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
336:  Conditional statement 'if' in a function 'TEE_GetSystemTime' should be followed by a block MISRAC2012-RULE_15_6-b-2
336:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
344:  Conditional statement 'if' in a function 'TEE_Wait' should be followed by a block MISRAC2012-RULE_15_6-b-2
344:  Integer constant '0xFFFF0002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
344:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
354:  The argument number '1' ('essentially Enum' type) is passed to the function '_utee_get_time' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
356:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
356:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
361:  Conditional statement 'if' in a function 'TEE_GetTAPersistentTime' should be followed by a block MISRAC2012-RULE_15_6-b-2
361:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
362:  Integer constant '0xFFFF5000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
363:  Integer constant '0xFFFF5001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
364:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
365:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
377:  Conditional statement 'if' in a function 'TEE_SetTAPersistentTime' should be followed by a block MISRAC2012-RULE_15_6-b-2
377:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
378:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
379:  Integer constant '0xFFFF3041' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
387:  The argument number '1' ('essentially Enum' type) is passed to the function '_utee_get_time' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
389:  Conditional statement 'if' in a function 'TEE_GetREETime' should be followed by a block MISRAC2012-RULE_15_6-b-2
389:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
393:  Identifiers given in declaration of 'TEE_Malloc' function (file: 'tee_api.h', line: '90') are: 'size' not: 'len' MISRAC2012-RULE_8_3-b-2
395:  Conditional statement 'if' in a function 'TEE_Malloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
395:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
396:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
396:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
397:  Conditional statement 'if' in a function 'TEE_Malloc' should be followed by a block MISRAC2012-RULE_15_6-b-2
397:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
397:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
398:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
398:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
407:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
407:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
412:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
412:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
418:  The argument number '3' ('essentially Enum' type) is passed to the function '_utee_cache_operation' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
422:  The argument number '3' ('essentially Enum' type) is passed to the function '_utee_cache_operation' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
427:  The argument number '3' ('essentially Enum' type) is passed to the function '_utee_cache_operation' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/libutee/tee_api_arith_mpi.c
18:  The 'api_panic' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
20:  Unused function's "printf" return value MISRAC2012-RULE_17_7-a-2
20:  Usage of 'printf' function is not allowed MISRAC2012-RULE_21_6-a-2
22:  'while' statement in a function 'api_panic' should be followed by a block MISRAC2012-RULE_15_6-a-2
26:  Each instance of parameter: 'x' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
28:  The 'mpi_panic' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
30:  Unused function's "printf" return value MISRAC2012-RULE_17_7-a-2
30:  Usage of 'printf' function is not allowed MISRAC2012-RULE_21_6-a-2
32:  'while' statement in a function 'mpi_panic' should be followed by a block MISRAC2012-RULE_15_6-a-2
43:  Reserved name '_TEE_MathAPI_Init' used MISRAC2012-RULE_21_2-a-2
47:  Pointer to incomplete type 'struct mempool *' should not be converted to type 'void *' MISRAC2012-RULE_11_2-a-2
48:  Conditional statement 'if' in a function '_TEE_MathAPI_Init' should be followed by a block MISRAC2012-RULE_15_6-b-2
48:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
62:  Pointer to object type 'TEE_BigInt *' is cast to pointer to different object type 'struct bigint_hdr *' MISRAC2012-RULE_11_3-a-2
66:  'while' statement in a function 'copy_mpi_to_bigint' should be followed by a block MISRAC2012-RULE_15_6-a-2
66:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
66:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
66:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
69:  Conditional statement 'if' in a function 'copy_mpi_to_bigint' should be followed by a block MISRAC2012-RULE_15_6-b-2
70:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
72:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
74:  In the call of the function 'memcpy' the first argument type 'bigint_hdr*' is not compatible with the second argument type 'unsigned int*' MISRAC2012-RULE_21_15-a-2
 +  74:  The number of bytes to process by the "memcpy" function is not positive and equals 0 MISRAC2012-RULE_21_18-a-1
74:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
92:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
92:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
98:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
98:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
98:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
103:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
104:  Cast from 'const TEE_BigInt *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
104:  Pointer to object type 'const TEE_BigInt *' is cast to pointer to different object type 'struct bigint_hdr *' MISRAC2012-RULE_11_3-a-2
105:  Pointer to object type 'const struct bigint_hdr *' is cast to pointer to different object type 'const mbedtls_mpi_uint *' MISRAC2012-RULE_11_3-a-2
109:  'while' statement in a function 'get_mpi' should be followed by a block MISRAC2012-RULE_15_6-a-2
109:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
109:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
109:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
112:  Conditional statement 'if' in a function 'get_mpi' should be followed by a block MISRAC2012-RULE_15_6-b-2
112:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
112:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
113:  The expression of the 'int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
 +  114:  The number of bytes to process by the "memcpy" function is not positive and equals 0 MISRAC2012-RULE_21_18-a-1
114:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
120:  Pointer to object type 'TEE_BigInt *' is cast to pointer to different object type 'struct bigint_hdr *' MISRAC2012-RULE_11_3-a-2
122:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
124:  Conditional statement 'if' in a function 'TEE_BigIntInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
 +  124:  Integer overflow: value of (len - 2) will be 4,294,967,294 instead of -2 (result type: 32 bits, unsigned, min: 0, max: 4,294,967,295) MISRAC2012-DIR_4_1-k-2
124:  Operands of the '-' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
124:  Operands of the '>' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
126:  Operands of the '-' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
126:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
138:  Conditional statement 'if' in a function 'TEE_BigIntConvertFromOctetString' should be followed by a block MISRAC2012-RULE_15_6-b-2
138:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
139:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
141:  An 'else' statement in a function 'TEE_BigIntConvertFromOctetString' shall be followed by a block MISRAC2012-RULE_15_6-b-2
143:  Conditional statement 'if' in a function 'TEE_BigIntConvertFromOctetString' should be followed by a block MISRAC2012-RULE_15_6-b-2
146:  Conditional statement 'if' in a function 'TEE_BigIntConvertFromOctetString' should be followed by a block MISRAC2012-RULE_15_6-b-2
146:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
164:  Conditional statement 'if' in a function 'TEE_BigIntConvertToOctetString' should be followed by a block MISRAC2012-RULE_15_6-b-2
165:  Conditional statement 'if' in a function 'TEE_BigIntConvertToOctetString' should be followed by a block MISRAC2012-RULE_15_6-b-2
165:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
165:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
167:  An 'else' statement in a function 'TEE_BigIntConvertToOctetString' shall be followed by a block MISRAC2012-RULE_15_6-b-2
167:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
169:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
182:  Conditional statement 'if' in a function 'TEE_BigIntConvertFromS32' should be followed by a block MISRAC2012-RULE_15_6-b-2
182:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
182:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
184:  Conditional statement 'if' in a function 'TEE_BigIntConvertFromS32' should be followed by a block MISRAC2012-RULE_15_6-b-2
184:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
184:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
184:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
196:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
197:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
202:  Conditional statement 'if' in a function 'TEE_BigIntConvertToS32' should be followed by a block MISRAC2012-RULE_15_6-b-2
203:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
205:  Conditional statement 'if' in a function 'TEE_BigIntConvertToS32' should be followed by a block MISRAC2012-RULE_15_6-b-2
206:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
254:  Conditional statement 'if' in a function 'TEE_BigIntShiftRight' should be followed by a block MISRAC2012-RULE_15_6-b-2
254:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
254:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
261:  Conditional statement 'if' in a function 'TEE_BigIntShiftRight' should be followed by a block MISRAC2012-RULE_15_6-b-2
261:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
261:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
262:  Conditional statement 'if' in a function 'TEE_BigIntShiftRight' should be followed by a block MISRAC2012-RULE_15_6-b-2
262:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
262:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
273:  Conditional statement 'if' in a function 'TEE_BigIntShiftRight' should be followed by a block MISRAC2012-RULE_15_6-b-2
273:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
273:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
274:  Conditional statement 'if' in a function 'TEE_BigIntShiftRight' should be followed by a block MISRAC2012-RULE_15_6-b-2
274:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
274:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
275:  Conditional statement 'if' in a function 'TEE_BigIntShiftRight' should be followed by a block MISRAC2012-RULE_15_6-b-2
275:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
275:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
283:  Conditional statement 'if' in a function 'TEE_BigIntShiftRight' should be followed by a block MISRAC2012-RULE_15_6-b-2
283:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
283:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
283:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
294:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
308:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
328:  Conditional statement 'if' in a function 'bigint_binary' should be followed by a block MISRAC2012-RULE_15_6-b-2
331:  An 'else' statement in a function 'bigint_binary' shall be followed by a block MISRAC2012-RULE_15_6-b-2
333:  Conditional statement 'if' in a function 'bigint_binary' should be followed by a block MISRAC2012-RULE_15_6-b-2
335:  Conditional statement 'if' in a function 'bigint_binary' should be followed by a block MISRAC2012-RULE_15_6-b-2
338:  An 'else' statement in a function 'bigint_binary' shall be followed by a block MISRAC2012-RULE_15_6-b-2
340:  Conditional statement 'if' in a function 'bigint_binary' should be followed by a block MISRAC2012-RULE_15_6-b-2
340:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
340:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
342:  Conditional statement 'if' in a function 'bigint_binary' should be followed by a block MISRAC2012-RULE_15_6-b-2
342:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
342:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
342:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
344:  Conditional statement 'if' in a function 'bigint_binary' should be followed by a block MISRAC2012-RULE_15_6-b-2
346:  Conditional statement 'if' in a function 'bigint_binary' should be followed by a block MISRAC2012-RULE_15_6-b-2
355:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
369:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
372:  An 'else' statement in a function 'bigint_binary_mod' shall be followed by a block MISRAC2012-RULE_15_6-b-2
374:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
376:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
379:  An 'else' statement in a function 'bigint_binary_mod' shall be followed by a block MISRAC2012-RULE_15_6-b-2
383:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
383:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
383:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
384:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
384:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
384:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
386:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
386:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
386:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
386:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
388:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
390:  Conditional statement 'if' in a function 'bigint_binary_mod' should be followed by a block MISRAC2012-RULE_15_6-b-2
408:  Identifiers given in declaration of 'TEE_BigIntNeg' function (file: 'tee_api.h', line: '385') are: 'op' not: 'src' MISRAC2012-RULE_8_3-b-2
419:  Conditional statement 'if' in a function 'TEE_BigIntNeg' should be followed by a block MISRAC2012-RULE_15_6-b-2
419:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
419:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
426:  Conditional statement 'if' in a function 'TEE_BigIntNeg' should be followed by a block MISRAC2012-RULE_15_6-b-2
426:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
426:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
426:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
435:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
435:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
435:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
435:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
435:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
435:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
439:  The expression of type 'void *' is converted to a pointer to incomplete type 'struct mempool *' in function's argument MISRAC2012-RULE_11_2-a-2
440:  Conditional statement 'if' in a function 'TEE_BigIntMul' should be followed by a block MISRAC2012-RULE_15_6-b-2
440:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
441:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
443:  The argument number '2' (8 byte essential type) is passed to the function 'TEE_BigIntInit' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
444:  The argument number '2' ('essentially signed' type) is passed to the function 'TEE_BigIntInit' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
450:  The expression of type 'void *' is converted to a pointer to incomplete type 'struct mempool *' in function's argument MISRAC2012-RULE_11_2-a-2
471:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
473:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
476:  An 'else' statement in a function 'TEE_BigIntDiv' shall be followed by a block MISRAC2012-RULE_15_6-b-2
478:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
480:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
482:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
485:  An 'else' statement in a function 'TEE_BigIntDiv' shall be followed by a block MISRAC2012-RULE_15_6-b-2
487:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
487:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
487:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
489:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
489:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
490:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
490:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
490:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
490:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
491:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
491:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
492:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
492:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
492:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
492:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
495:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
497:  Conditional statement 'if' in a function 'TEE_BigIntDiv' should be followed by a block MISRAC2012-RULE_15_6-b-2
503:  Conditional statement 'if' in a function 'TEE_BigIntMod' should be followed by a block MISRAC2012-RULE_15_6-b-2
536:  Conditional statement 'if' in a function 'TEE_BigIntInvMod' should be followed by a block MISRAC2012-RULE_15_6-b-2
536:  Function 'TEE_BigIntCmpS32' called in the right-hand operand of a logical '||' operator may cause side effect MISRAC2012-RULE_13_5-a-2
547:  Conditional statement 'if' in a function 'TEE_BigIntInvMod' should be followed by a block MISRAC2012-RULE_15_6-b-2
550:  An 'else' statement in a function 'TEE_BigIntInvMod' shall be followed by a block MISRAC2012-RULE_15_6-b-2
552:  Conditional statement 'if' in a function 'TEE_BigIntInvMod' should be followed by a block MISRAC2012-RULE_15_6-b-2
552:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
552:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
554:  Conditional statement 'if' in a function 'TEE_BigIntInvMod' should be followed by a block MISRAC2012-RULE_15_6-b-2
554:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
554:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
554:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
557:  Conditional statement 'if' in a function 'TEE_BigIntInvMod' should be followed by a block MISRAC2012-RULE_15_6-b-2
571:  Conditional statement 'if' in a function 'TEE_BigIntRelativePrime' should be followed by a block MISRAC2012-RULE_15_6-b-2
574:  An 'else' statement in a function 'TEE_BigIntRelativePrime' shall be followed by a block MISRAC2012-RULE_15_6-b-2
578:  Conditional statement 'if' in a function 'TEE_BigIntRelativePrime' should be followed by a block MISRAC2012-RULE_15_6-b-2
578:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
578:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
580:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
584:  Conditional statement 'if' in a function 'TEE_BigIntRelativePrime' should be followed by a block MISRAC2012-RULE_15_6-b-2
592:  The expression of the 'essentially signed' type is returned from function 'mpi_is_odd' with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
604:  Value 73 is out of acceptable range: 'lower than 30' METRIC.CC-3
625:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
626:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
626:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
626:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
627:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
627:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
627:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
628:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
628:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
628:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
632:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
632:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
632:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
633:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
633:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
633:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
638:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
638:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
638:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
639:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
639:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
639:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
642:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
642:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
642:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
643:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
643:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
643:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
644:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
644:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
644:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
645:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
645:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
645:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
646:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
646:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
646:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
647:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
647:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
647:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
649:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
651:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
651:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
651:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
653:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
653:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
653:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
654:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
654:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
654:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
656:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
656:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
656:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
657:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
657:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
657:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
661:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
661:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
661:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
663:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
663:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
663:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
664:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
664:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
664:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
666:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
666:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
666:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
667:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
667:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
667:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
672:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
672:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
672:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
673:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
673:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
673:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
674:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
674:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
674:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
676:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
676:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
676:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
677:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
677:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
677:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
678:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
678:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
678:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
682:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
682:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
682:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
683:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
683:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
683:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
684:  Conditional statement 'if' in a function 'mpi_egcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
684:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
684:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
708:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
711:  An 'else' statement in a function 'TEE_BigIntComputeExtendedGcd' shall be followed by a block MISRAC2012-RULE_15_6-b-2
713:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
713:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
714:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
714:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
714:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
718:  The expression of the 'short' essential type (2 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
719:  The expression of the 'short' essential type (2 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
730:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
730:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
730:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
731:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
731:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
731:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
732:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
732:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
732:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
742:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
742:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
742:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
742:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
743:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
743:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
743:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
743:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
748:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
748:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
748:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
748:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
751:  Conditional statement 'if' in a function 'TEE_BigIntComputeExtendedGcd' should be followed by a block MISRAC2012-RULE_15_6-b-2
757:  Conditional statement 'if' in a function 'rng_read' should be followed by a block MISRAC2012-RULE_15_6-b-2
757:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
774:  Conditional statement 'if' in a function 'TEE_BigIntIsProbablePrime' should be followed by a block MISRAC2012-RULE_15_6-b-2
774:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
801:  Operands of the '+' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
801:  Operands of the '+' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
801:  Operands of the '/' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
827:  Conditional statement 'if' in a function 'TEE_BigIntConvertFromFMM' should be followed by a block MISRAC2012-RULE_15_6-b-2
827:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
827:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
829:  Conditional statement 'if' in a function 'TEE_BigIntConvertFromFMM' should be followed by a block MISRAC2012-RULE_15_6-b-2
829:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
829:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
829:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
850:  Conditional statement 'if' in a function 'TEE_BigIntComputeFMM' should be followed by a block MISRAC2012-RULE_15_6-b-2
850:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
850:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
851:  Conditional statement 'if' in a function 'TEE_BigIntComputeFMM' should be followed by a block MISRAC2012-RULE_15_6-b-2
851:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
851:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
857:  Conditional statement 'if' in a function 'TEE_BigIntComputeFMM' should be followed by a block MISRAC2012-RULE_15_6-b-2
857:  Reserved name '_rc' used MISRAC2012-RULE_21_2-a-2
857:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
857:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/libutee/tee_api_objects.c
14:  Reserved name '__utee_from_attr' used MISRAC2012-RULE_21_2-a-2
21:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
21:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
21:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
21:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
25:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
42:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
44:  Conditional statement 'if' in a function 'TEE_GetObjectInfo' should be followed by a block MISRAC2012-RULE_15_6-b-2
44:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
47:  Integer constant '0xA00000BE' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
61:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
63:  Conditional statement 'if' in a function 'TEE_GetObjectInfo1' should be followed by a block MISRAC2012-RULE_15_6-b-2
63:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
64:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
65:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
82:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
 +  82:  Value of "res" is never used MISRAC2012-RULE_2_2-b-2
83:  Conditional statement 'if' in a function 'TEE_RestrictObjectUsage' should be followed by a block MISRAC2012-RULE_15_6-b-2
83:  Integer constant '0xA00000BE' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
88:  Conditional statement 'if' in a function 'TEE_RestrictObjectUsage' should be followed by a block MISRAC2012-RULE_15_6-b-2
88:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
96:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
99:  Conditional statement 'if' in a function 'TEE_RestrictObjectUsage1' should be followed by a block MISRAC2012-RULE_15_6-b-2
99:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
100:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
101:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
117:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
118:  Conditional statement 'if' in a function 'TEE_GetObjectBufferAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
118:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
122:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
122:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
122:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
122:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
123:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
128:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
130:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
133:  Conditional statement 'if' in a function 'TEE_GetObjectBufferAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
133:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
134:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
135:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
136:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
137:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
152:  Conditional statement 'if' in a function 'TEE_GetObjectValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
152:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
154:  Conditional statement 'if' in a function 'TEE_GetObjectValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
154:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
157:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
158:  Conditional statement 'if' in a function 'TEE_GetObjectValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
158:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
162:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
162:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
162:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
162:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
163:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
167:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
171:  Conditional statement 'if' in a function 'TEE_GetObjectValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
171:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
172:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
173:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
174:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
177:  Conditional statement 'if' in a function 'TEE_GetObjectValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
180:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
181:  Conditional statement 'if' in a function 'TEE_GetObjectValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
181:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
183:  Conditional statement 'if' in a function 'TEE_GetObjectValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
183:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
194:  Conditional statement 'if' in a function 'TEE_CloseObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
194:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
197:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
198:  Conditional statement 'if' in a function 'TEE_CloseObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
198:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
215:  Conditional statement 'if' in a function 'TEE_AllocateTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
215:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
216:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
217:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
220:  Conditional statement 'if' in a function 'TEE_AllocateTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
220:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
221:  The expression of type 'uintptr_t' should not be cast to pointer to incomplete type 'struct __TEE_ObjectHandle *' MISRAC2012-RULE_11_2-a-2
231:  Conditional statement 'if' in a function 'TEE_FreeTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
231:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
234:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
235:  Conditional statement 'if' in a function 'TEE_FreeTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
235:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
238:  Conditional statement 'if' in a function 'TEE_FreeTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
238:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
238:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
238:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
241:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
242:  Conditional statement 'if' in a function 'TEE_FreeTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
242:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
251:  Conditional statement 'if' in a function 'TEE_ResetTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
251:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
254:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
255:  Conditional statement 'if' in a function 'TEE_ResetTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
255:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
258:  Conditional statement 'if' in a function 'TEE_ResetTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
258:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
258:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
258:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
261:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
262:  Conditional statement 'if' in a function 'TEE_ResetTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
262:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
272:  The dimension of array 'ua' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
276:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
277:  Conditional statement 'if' in a function 'TEE_PopulateTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
277:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
281:  Conditional statement 'if' in a function 'TEE_PopulateTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
281:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
281:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
281:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
285:  Conditional statement 'if' in a function 'TEE_PopulateTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
285:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
285:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
285:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
289:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
290:  Conditional statement 'if' in a function 'TEE_PopulateTransientObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
290:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
290:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
300:  Conditional statement 'if' in a function 'TEE_InitRefAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
300:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
300:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
300:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
300:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
303:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
312:  Conditional statement 'if' in a function 'TEE_InitValueAttribute' should be followed by a block MISRAC2012-RULE_15_6-b-2
312:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
312:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
312:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
312:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
331:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
 +  331:  Value of "res" is never used MISRAC2012-RULE_2_2-b-2
332:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes' should be followed by a block MISRAC2012-RULE_15_6-b-2
332:  Integer constant '0xA00000BE' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
336:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes' should be followed by a block MISRAC2012-RULE_15_6-b-2
336:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
347:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
348:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes1' should be followed by a block MISRAC2012-RULE_15_6-b-2
348:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
351:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
352:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes1' should be followed by a block MISRAC2012-RULE_15_6-b-2
352:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
355:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes1' should be followed by a block MISRAC2012-RULE_15_6-b-2
355:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
355:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
355:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
358:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes1' should be followed by a block MISRAC2012-RULE_15_6-b-2
358:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
358:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
358:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
361:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes1' should be followed by a block MISRAC2012-RULE_15_6-b-2
361:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
361:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
361:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
364:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
365:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
368:  Conditional statement 'if' in a function 'TEE_CopyObjectAttributes1' should be followed by a block MISRAC2012-RULE_15_6-b-2
368:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
369:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
370:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
380:  The dimension of array 'ua' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
385:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
388:  Conditional statement 'if' in a function 'TEE_GenerateKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
388:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
388:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
403:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
404:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
412:  Conditional statement 'if' in a function 'TEE_OpenPersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
412:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
413:  The expression of type 'uintptr_t' should not be cast to pointer to incomplete type 'struct __TEE_ObjectHandle *' MISRAC2012-RULE_11_2-a-2
416:  Conditional statement 'if' in a function 'TEE_OpenPersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
416:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
417:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
418:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
419:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
420:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
421:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
424:  Conditional statement 'if' in a function 'TEE_OpenPersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
424:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
425:  '0' is assigned to expression of pointer type MISRAC2012-RULE_11_9-b-2
440:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
441:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
448:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
451:  Conditional statement 'if' in a function 'TEE_CreatePersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
451:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
452:  The expression of type 'uintptr_t' should not be cast to pointer to incomplete type 'struct __TEE_ObjectHandle *' MISRAC2012-RULE_11_2-a-2
455:  Conditional statement 'if' in a function 'TEE_CreatePersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
455:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
456:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
457:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
458:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
459:  Integer constant '0xFFFF3041' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
460:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
461:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
464:  Conditional statement 'if' in a function 'TEE_CreatePersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
464:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
465:  '0' is assigned to expression of pointer type MISRAC2012-RULE_11_9-b-2
480:  Conditional statement 'if' in a function 'TEE_CloseAndDeletePersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
480:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
485:  Conditional statement 'if' in a function 'TEE_CloseAndDeletePersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
485:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
489:  The identifier 'TEE_CloseAndDeletePersistentObject1' has the same first 31 characters of the name as the identifier 'TEE_CloseAndDeletePersistentObject' defined in the 'tee_api.h' file in line '167' MISRAC2012-RULE_5_1-a-2
493:  Conditional statement 'if' in a function 'TEE_CloseAndDeletePersistentObject1' should be followed by a block MISRAC2012-RULE_15_6-b-2
493:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
496:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
498:  Conditional statement 'if' in a function 'TEE_CloseAndDeletePersistentObject1' should be followed by a block MISRAC2012-RULE_15_6-b-2
498:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
498:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
511:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
512:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
516:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
520:  Conditional statement 'if' in a function 'TEE_RenamePersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
520:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
521:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
522:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
523:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
540:  Conditional statement 'if' in a function 'TEE_AllocatePersistentObjectEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
540:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
543:  The expression of type 'uintptr_t' should not be cast to pointer to incomplete type 'struct __TEE_ObjectEnumHandle *' MISRAC2012-RULE_11_2-a-2
545:  Conditional statement 'if' in a function 'TEE_AllocatePersistentObjectEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
545:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
546:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
556:  Conditional statement 'if' in a function 'TEE_FreePersistentObjectEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
556:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
559:  Pointer to incomplete type 'struct __TEE_ObjectEnumHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
561:  Conditional statement 'if' in a function 'TEE_FreePersistentObjectEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
561:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
569:  Conditional statement 'if' in a function 'TEE_ResetPersistentObjectEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
569:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
572:  Pointer to incomplete type 'struct __TEE_ObjectEnumHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
574:  Conditional statement 'if' in a function 'TEE_ResetPersistentObjectEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
574:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
584:  Pointer to incomplete type 'struct __TEE_ObjectEnumHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
587:  Conditional statement 'if' in a function 'TEE_StartPersistentObjectEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
587:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
588:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
589:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
590:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
605:  Conditional statement 'if' in a function 'TEE_GetNextPersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
605:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
609:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
610:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
614:  Conditional statement 'if' in a function 'TEE_GetNextPersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
614:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
617:  An 'else' statement in a function 'TEE_GetNextPersistentObject' shall be followed by a block MISRAC2012-RULE_15_6-b-2
619:  Pointer to incomplete type 'struct __TEE_ObjectEnumHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
621:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
624:  Conditional statement 'if' in a function 'TEE_GetNextPersistentObject' should be followed by a block MISRAC2012-RULE_15_6-b-2
624:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
625:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
626:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
627:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
641:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
642:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
648:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
650:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
653:  Conditional statement 'if' in a function 'TEE_ReadObjectData' should be followed by a block MISRAC2012-RULE_15_6-b-2
653:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
654:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
655:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
666:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
667:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
671:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
672:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
676:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
679:  Conditional statement 'if' in a function 'TEE_WriteObjectData' should be followed by a block MISRAC2012-RULE_15_6-b-2
679:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
680:  Integer constant '0xFFFF3041' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
681:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
682:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
683:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
693:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
694:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
698:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
701:  Conditional statement 'if' in a function 'TEE_TruncateObjectData' should be followed by a block MISRAC2012-RULE_15_6-b-2
701:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
702:  Integer constant '0xFFFF3041' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
703:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
704:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
716:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
717:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
721:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
722:  Conditional statement 'if' in a function 'TEE_SeekObjectData' should be followed by a block MISRAC2012-RULE_15_6-b-2
722:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
727:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
728:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
735:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
738:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
744:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
746:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
750:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
750:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
751:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
755:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
755:  The argument number '3' ('essentially Enum' type) is passed to the function '_utee_storage_obj_seek' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
758:  Conditional statement 'if' in a function 'TEE_SeekObjectData' should be followed by a block MISRAC2012-RULE_15_6-b-2
758:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
759:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
760:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
761:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/libutee/tee_api_operations.c
18:  Reserved name '__TEE_OperationHandle' used MISRAC2012-RULE_21_2-a-2
32:  Value 63 is out of acceptable range: 'lower than 30' METRIC.CC-3
37:  Variable 'op' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
44:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
44:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
47:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
47:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
47:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
53:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
53:  Operands of the '<' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
54:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
55:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
55:  Operands of the '>' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
56:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
57:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
57:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
57:  Operands of the '%' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
58:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
62:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
62:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
63:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
67:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
67:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
67:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
68:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
72:  Integer constant '0x80001042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
73:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
73:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
74:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
78:  Integer constant '0x80002042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
79:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
79:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
80:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
84:  Integer constant '0x80003042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
85:  Integer constant '0x80000045' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
87:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
87:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
88:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
93:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
93:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
94:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
98:  Integer constant '0x80004042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
99:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
99:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
100:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
104:  Integer constant '0x80005042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
105:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
105:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
106:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
110:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
110:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
116:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
116:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
128:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
128:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
129:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
129:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
131:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
131:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
134:  An 'else' statement in a function 'TEE_AllocateOperation' shall be followed by a block MISRAC2012-RULE_15_6-b-2
138:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
138:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
140:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
140:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
143:  An 'else' statement in a function 'TEE_AllocateOperation' shall be followed by a block MISRAC2012-RULE_15_6-b-2
143:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
147:  Integer constant '0xF0000830' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
169:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
172:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
175:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
185:  Integer constant '0x80000045' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
186:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
188:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
192:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
197:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
198:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
198:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
198:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
199:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
201:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
201:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
201:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
203:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
207:  Integer constant '0x80000032' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
208:  Integer constant '0x80001042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
209:  Integer constant '0x80002042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
210:  Integer constant '0x80003042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
211:  Integer constant '0x80004042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
212:  Integer constant '0x80005042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
213:  Integer constant '0x800010C0' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
214:  Integer constant '0x800020C0' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
215:  Integer constant '0x800030C0' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
216:  Integer constant '0x800040C0' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
217:  Integer constant '0x800050C0' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
218:  Integer constant '0x800060C0' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
219:  Integer constant '0x800020C1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
220:  Integer constant '0x800030C1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
221:  Integer constant '0x800040C1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
222:  Integer constant '0x800050C1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
223:  Integer constant '0x800060C1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
224:  Integer constant '0x800020C2' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
226:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
226:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
227:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
239:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
239:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
240:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
241:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
241:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
242:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
244:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
244:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
255:  Integer constant '0xF0000613' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
263:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
263:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
264:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
269:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
272:  The argument number '1' (8 byte essential type) is passed to the function 'TEE_Malloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
273:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
273:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
274:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  277:  The return value of the "__tee_alg_get_class" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
279:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
279:  Integer constant '0xF0000830' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
283:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
288:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
291:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
292:  Operands of the '*=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
294:  The argument number '1' (8 byte essential type) is passed to the function 'TEE_Malloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
295:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
297:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
304:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
313:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
313:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
313:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
313:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
314:  Operands of the '/=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
317:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
317:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
320:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
320:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
320:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
323:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
323:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
328:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
329:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
330:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
330:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
338:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
340:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
340:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
343:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
343:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
351:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
352:  Conditional statement 'if' in a function 'TEE_AllocateOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
352:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
353:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  355:  "op" is checked for null after being dereferenced MISRAC2012-DIR_4_1-f-2
355:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
356:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
374:  Conditional statement 'if' in a function 'TEE_FreeOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
374:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
383:  Conditional statement 'if' in a function 'TEE_FreeOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
383:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
393:  Conditional statement 'if' in a function 'TEE_GetOperationInfo' should be followed by a block MISRAC2012-RULE_15_6-b-2
393:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
399:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
399:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
399:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
405:  Identifiers given in declaration of 'TEE_GetOperationInfoMultiple' function (file: 'tee_api.h', line: '214') are: 'operation, operationInfoMultiple, operationSize' not: 'op, op_info, size' MISRAC2012-RULE_8_3-b-2
414:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
415:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
422:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
428:  Unused function's "TEE_MemFill" return value MISRAC2012-RULE_17_7-a-2
431:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
431:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
431:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
433:  Operands of the '==' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
436:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
437:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
443:  Conditional statement 'if' in a function 'TEE_GetOperationInfoMultiple' should be followed by a block MISRAC2012-RULE_15_6-b-2
443:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
451:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
452:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
458:  Conditional statement 'if' in a function 'TEE_GetOperationInfoMultiple' should be followed by a block MISRAC2012-RULE_15_6-b-2
458:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
467:  Conditional statement 'if' in a function 'TEE_GetOperationInfoMultiple' should be followed by a block MISRAC2012-RULE_15_6-b-2
467:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
486:  Conditional statement 'if' in a function 'TEE_GetOperationInfoMultiple' should be followed by a block MISRAC2012-RULE_15_6-b-2
486:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
487:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
497:  Conditional statement 'if' in a function 'TEE_ResetOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
497:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
500:  Conditional statement 'if' in a function 'TEE_ResetOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
500:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
500:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
500:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
505:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
507:  Conditional statement 'if' in a function 'TEE_ResetOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
507:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
509:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
509:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
511:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
511:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
511:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
522:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
523:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
527:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
528:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
532:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
535:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
535:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
535:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
540:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
541:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
546:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
546:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
546:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
548:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
554:  Conditional statement 'if' in a function 'TEE_SetOperationKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
554:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
560:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
565:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
572:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
572:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
572:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
575:  Conditional statement 'if' in a function 'TEE_SetOperationKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
575:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
578:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
578:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
583:  Conditional statement 'if' in a function 'TEE_SetOperationKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
583:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
584:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
585:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
599:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
600:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
604:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
605:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
613:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
613:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
617:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
617:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
617:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
619:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
619:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
619:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
621:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
626:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
627:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
632:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
632:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
632:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
634:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
640:  Conditional statement 'if' in a function 'TEE_SetOperationKey2' should be followed by a block MISRAC2012-RULE_15_6-b-2
640:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
646:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
652:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
653:  Conditional statement 'if' in a function 'TEE_SetOperationKey2' should be followed by a block MISRAC2012-RULE_15_6-b-2
653:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
654:  Integer constant '0xF0100002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
661:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
670:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
676:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
688:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
688:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
688:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
691:  Conditional statement 'if' in a function 'TEE_SetOperationKey2' should be followed by a block MISRAC2012-RULE_15_6-b-2
691:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
694:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
695:  Conditional statement 'if' in a function 'TEE_SetOperationKey2' should be followed by a block MISRAC2012-RULE_15_6-b-2
695:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
696:  Integer constant '0xF0100002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
700:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
700:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
705:  Conditional statement 'if' in a function 'TEE_SetOperationKey2' should be followed by a block MISRAC2012-RULE_15_6-b-2
705:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
706:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
707:  Integer constant '0xF0100002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
708:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
709:  Integer constant '0xF0100004' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
715:  Identifiers given in declaration of 'TEE_CopyOperation' function (file: 'tee_api.h', line: '226') are: 'dstOperation, srcOperation' not: 'dst_op, src_op' MISRAC2012-RULE_8_3-b-2
719:  Conditional statement 'if' in a function 'TEE_CopyOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
719:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
719:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
721:  Conditional statement 'if' in a function 'TEE_CopyOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
723:  Conditional statement 'if' in a function 'TEE_CopyOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
725:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
726:  Variable 'key1' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
727:  Variable 'key2' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
729:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
729:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
729:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
734:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
734:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
734:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
736:  Unused function's "TEE_SetOperationKey" return value MISRAC2012-RULE_17_7-a-2
738:  Unused function's "TEE_SetOperationKey2" return value MISRAC2012-RULE_17_7-a-2
746:  Conditional statement 'if' in a function 'TEE_CopyOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
751:  Conditional statement 'if' in a function 'TEE_CopyOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
754:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
756:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
761:  Conditional statement 'if' in a function 'TEE_CopyOperation' should be followed by a block MISRAC2012-RULE_15_6-b-2
761:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
777:  Conditional statement 'if' in a function 'init_hash_operation' should be followed by a block MISRAC2012-RULE_15_6-b-2
777:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
780:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
780:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
786:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
788:  Conditional statement 'if' in a function 'TEE_DigestUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
788:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
789:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
795:  Conditional statement 'if' in a function 'TEE_DigestUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
795:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
805:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
806:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
806:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
807:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
808:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
815:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
816:  Conditional statement 'if' in a function 'TEE_DigestDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
816:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
825:  Conditional statement 'if' in a function 'TEE_DigestDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
825:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
826:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
839:  Conditional statement 'if' in a function 'TEE_CipherInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
839:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
842:  Conditional statement 'if' in a function 'TEE_CipherInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
842:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
845:  Conditional statement 'if' in a function 'TEE_CipherInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
845:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
845:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
845:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
846:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
849:  Conditional statement 'if' in a function 'TEE_CipherInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
849:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
855:  Conditional statement 'if' in a function 'TEE_CipherInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
855:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
859:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
859:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
880:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
881:  Conditional statement 'if' in a function 'tee_buffer_update' should be followed by a block MISRAC2012-RULE_15_6-b-2
881:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
887:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
894:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
896:  Conditional statement 'if' in a function 'tee_buffer_update' should be followed by a block MISRAC2012-RULE_15_6-b-2
897:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
897:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
899:  An 'else' statement in a function 'tee_buffer_update' shall be followed by a block MISRAC2012-RULE_15_6-b-2
899:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
899:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
900:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
904:  Conditional statement 'if' in a function 'tee_buffer_update' should be followed by a block MISRAC2012-RULE_15_6-b-2
904:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
909:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
911:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
913:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
913:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
916:  Conditional statement 'if' in a function 'tee_buffer_update' should be followed by a block MISRAC2012-RULE_15_6-b-2
916:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
922:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
926:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
927:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
935:  Conditional statement 'if' in a function 'tee_buffer_update' should be followed by a block MISRAC2012-RULE_15_6-b-2
935:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
936:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
936:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
938:  An 'else' statement in a function 'tee_buffer_update' shall be followed by a block MISRAC2012-RULE_15_6-b-2
938:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
938:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
938:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
942:  Conditional statement 'if' in a function 'tee_buffer_update' should be followed by a block MISRAC2012-RULE_15_6-b-2
942:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
 +  946:  Value of "dst" is never used MISRAC2012-RULE_2_2-b-2
 +  947:  Value of "dlen" is never used MISRAC2012-RULE_2_2-b-2
952:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
967:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
967:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
967:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
968:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
973:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
974:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
978:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
978:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
978:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
979:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
983:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
984:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
988:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
988:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
995:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1002:  Conditional statement 'if' in a function 'TEE_CipherUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1002:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1003:  Operands of the '*' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1005:  An 'else' statement in a function 'TEE_CipherUpdate' shall be followed by a block MISRAC2012-RULE_15_6-b-2
1013:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1014:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1019:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1023:  Operands of the '>' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1031:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1034:  Conditional statement 'if' in a function 'TEE_CipherUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1034:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1035:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1051:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1051:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1051:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1052:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1055:  Conditional statement 'if' in a function 'TEE_CipherDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1055:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1058:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1059:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1063:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1063:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1063:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1064:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1068:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1069:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1077:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1078:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1079:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1080:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1081:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1082:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1083:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1084:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1085:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1087:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1097:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1102:  Conditional statement 'if' in a function 'TEE_CipherDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1102:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1105:  Conditional statement 'if' in a function 'TEE_CipherDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1105:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1106:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1107:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1111:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1112:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1116:  Conditional statement 'if' in a function 'TEE_CipherDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1116:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1131:  Conditional statement 'if' in a function 'TEE_CipherDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1131:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1135:  Conditional statement 'if' in a function 'TEE_CipherDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1135:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1136:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1138:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1138:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1138:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1143:  Conditional statement 'if' in a function 'TEE_CipherDoFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1143:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1144:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1154:  Conditional statement 'if' in a function 'TEE_MACInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
1154:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1157:  Conditional statement 'if' in a function 'TEE_MACInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
1157:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1160:  Conditional statement 'if' in a function 'TEE_MACInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
1160:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1160:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1160:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1161:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1164:  Conditional statement 'if' in a function 'TEE_MACInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
1164:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1177:  Conditional statement 'if' in a function 'TEE_MACUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1177:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1180:  Conditional statement 'if' in a function 'TEE_MACUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1180:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1183:  Conditional statement 'if' in a function 'TEE_MACUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1183:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1183:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1183:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1186:  Conditional statement 'if' in a function 'TEE_MACUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1186:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1190:  Conditional statement 'if' in a function 'TEE_MACUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1190:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1201:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1201:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1201:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1202:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1207:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1208:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1212:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1212:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1212:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1213:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1217:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1218:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1224:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1225:  Conditional statement 'if' in a function 'TEE_MACComputeFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1225:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1228:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1228:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1228:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1233:  Conditional statement 'if' in a function 'TEE_MACComputeFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1233:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1234:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1246:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1248:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1249:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1253:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1253:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1253:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1254:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1258:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1259:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1265:  Conditional statement 'if' in a function 'TEE_MACCompareFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1265:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1269:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1274:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1281:  Conditional statement 'if' in a function 'TEE_MACCompareFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1281:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1282:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1297:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1301:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1302:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1306:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1307:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1317:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1321:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1321:  Operands of the '%' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1321:  Operands of the '<' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1321:  Operands of the '>' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
1322:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1327:  Operands of the '/' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1327:  The value of a composite expression (32 bit essential type) is passed to function '_utee_authenc_init' as parameter with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
1329:  Conditional statement 'if' in a function 'TEE_AEInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
1329:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1332:  Operands of the '/' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1334:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1334:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1337:  Conditional statement 'if' in a function 'TEE_AEInit' should be followed by a block MISRAC2012-RULE_15_6-b-2
1337:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1338:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1349:  Conditional statement 'if' in a function 'TEE_AEUpdateAAD' should be followed by a block MISRAC2012-RULE_15_6-b-2
1349:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1350:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1353:  Conditional statement 'if' in a function 'TEE_AEUpdateAAD' should be followed by a block MISRAC2012-RULE_15_6-b-2
1353:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1356:  Conditional statement 'if' in a function 'TEE_AEUpdateAAD' should be followed by a block MISRAC2012-RULE_15_6-b-2
1356:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1356:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1356:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1363:  Conditional statement 'if' in a function 'TEE_AEUpdateAAD' should be followed by a block MISRAC2012-RULE_15_6-b-2
1363:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1374:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1374:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1374:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1375:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1380:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1381:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1385:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1385:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1385:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1386:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1390:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1390:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1401:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1402:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1410:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1411:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1415:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1419:  Operands of the '>' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1428:  Conditional statement 'if' in a function 'TEE_AEUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1428:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1431:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1436:  Conditional statement 'if' in a function 'TEE_AEUpdate' should be followed by a block MISRAC2012-RULE_15_6-b-2
1436:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1437:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1455:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1455:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1455:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1456:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1462:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1463:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1467:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1467:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1467:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1468:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1480:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1484:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1485:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1490:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1493:  Conditional statement 'if' in a function 'TEE_AEEncryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1493:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1498:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1501:  Conditional statement 'if' in a function 'TEE_AEEncryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1501:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1517:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1518:  Conditional statement 'if' in a function 'TEE_AEEncryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1518:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1522:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1524:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1524:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1524:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1529:  Conditional statement 'if' in a function 'TEE_AEEncryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1529:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1530:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1547:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1547:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1547:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1548:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1553:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1554:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1558:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1558:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1558:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1559:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1570:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1571:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1576:  Operands of the '>' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1579:  Conditional statement 'if' in a function 'TEE_AEDecryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1579:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1595:  Conditional statement 'if' in a function 'TEE_AEDecryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1595:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1599:  Conditional statement 'if' in a function 'TEE_AEDecryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1600:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1603:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1605:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1605:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1605:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1610:  Conditional statement 'if' in a function 'TEE_AEDecryptFinal' should be followed by a block MISRAC2012-RULE_15_6-b-2
1610:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1611:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1612:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1627:  The dimension of array 'ua' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
1630:  Conditional statement 'if' in a function 'TEE_AsymmetricEncrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1630:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1630:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1630:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1636:  Conditional statement 'if' in a function 'TEE_AsymmetricEncrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1636:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1638:  Conditional statement 'if' in a function 'TEE_AsymmetricEncrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1638:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1640:  Conditional statement 'if' in a function 'TEE_AsymmetricEncrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1640:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
1647:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1649:  Conditional statement 'if' in a function 'TEE_AsymmetricEncrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1649:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1650:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1651:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1664:  The dimension of array 'ua' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
1667:  Conditional statement 'if' in a function 'TEE_AsymmetricDecrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1667:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1667:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1667:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1673:  Conditional statement 'if' in a function 'TEE_AsymmetricDecrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1673:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1675:  Conditional statement 'if' in a function 'TEE_AsymmetricDecrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1675:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1677:  Conditional statement 'if' in a function 'TEE_AsymmetricDecrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1677:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
1684:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1686:  Conditional statement 'if' in a function 'TEE_AsymmetricDecrypt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1686:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1687:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1688:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1701:  The dimension of array 'ua' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
1704:  Conditional statement 'if' in a function 'TEE_AsymmetricSignDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1704:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1704:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1704:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1710:  Conditional statement 'if' in a function 'TEE_AsymmetricSignDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1710:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1712:  Conditional statement 'if' in a function 'TEE_AsymmetricSignDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1712:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1715:  Conditional statement 'if' in a function 'TEE_AsymmetricSignDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1715:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
1722:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1724:  Conditional statement 'if' in a function 'TEE_AsymmetricSignDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1724:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1724:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1738:  The dimension of array 'ua' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
1740:  Conditional statement 'if' in a function 'TEE_AsymmetricVerifyDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1740:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1741:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1742:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1747:  Conditional statement 'if' in a function 'TEE_AsymmetricVerifyDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1747:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1749:  Conditional statement 'if' in a function 'TEE_AsymmetricVerifyDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1749:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1752:  Conditional statement 'if' in a function 'TEE_AsymmetricVerifyDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1752:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
1759:  Conditional statement 'if' in a function 'TEE_AsymmetricVerifyDigest' should be followed by a block MISRAC2012-RULE_15_6-b-2
1759:  Integer constant '0xFFFF3072' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1759:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1773:  The dimension of array 'ua' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
1775:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1775:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1775:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
1780:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1780:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1784:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1784:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1786:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1786:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1788:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1788:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'TEE_OperationMode' MISRAC2012-RULE_10_4-a-2
1790:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1790:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1790:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1790:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1793:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
1794:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1794:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1797:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1797:  Integer constant '0xA0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1799:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1799:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1799:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1799:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1804:  Pointer to incomplete type 'struct __TEE_ObjectHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
1805:  Conditional statement 'if' in a function 'TEE_DeriveKey' should be followed by a block MISRAC2012-RULE_15_6-b-2
1805:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1816:  Conditional statement 'if' in a function 'TEE_GenerateRandom' should be followed by a block MISRAC2012-RULE_15_6-b-2
1816:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1824:  The argument number '2' (8 byte essential type) is passed to the function 'TEE_GenerateRandom' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1830:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1830:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1833:  Identifiers given in declaration of 'TEE_IsAlgorithmSupported' function (file: 'tee_api.h', line: '229') are: 'algId' not: 'alg' MISRAC2012-RULE_8_3-b-2
1833:  Value 105 is out of acceptable range: 'lower than 30' METRIC.CC-3
1837:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1837:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1841:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1841:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1845:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1845:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1849:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1849:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1853:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1853:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1857:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1857:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1858:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1862:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1862:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1866:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1866:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1870:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1870:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1876:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1876:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1877:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1881:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1881:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1882:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1886:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1886:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1887:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1888:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1889:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1894:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1894:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1898:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1898:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1902:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1902:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1906:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1906:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1910:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1910:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1914:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1914:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1918:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1918:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1923:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1923:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1927:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1927:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1931:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1931:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1935:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1935:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1939:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1939:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1943:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1943:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1947:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1947:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1952:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1952:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1957:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1957:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1961:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1961:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1965:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1965:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1971:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1971:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1975:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1975:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1976:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1977:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1981:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1981:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1985:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1985:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1986:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1987:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1991:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1991:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1992:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1993:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1997:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
1997:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1998:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1999:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2003:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2003:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2004:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2005:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2009:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2009:  Integer constant '0xF0000830' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2012:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2012:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2017:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2017:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2021:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2021:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2025:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2025:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2030:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2030:  Integer constant '0x80000032' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2034:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2034:  Integer constant '0x80001042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2034:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2035:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
2037:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2037:  Integer constant '0x80002042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2037:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2038:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
2040:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2040:  Integer constant '0x80003042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2040:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2041:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
2043:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2043:  Integer constant '0x80004042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2043:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2044:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
2046:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2046:  Integer constant '0x80005042' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2046:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2047:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
2051:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2051:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2051:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
2055:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2055:  Operands of the '==' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
2055:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
2059:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2059:  Integer constant '0x80000045' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2059:  Operands of the '==' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
2063:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2065:  Conditional statement 'if' in a function 'TEE_IsAlgorithmSupported' should be followed by a block MISRAC2012-RULE_15_6-b-2
2065:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
2067:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/libutee/tee_api_panic.c
32:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
40:  Conditional statement 'if' in a function 'check_access' should be followed by a block MISRAC2012-RULE_15_6-b-2
40:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
43:  Conditional statement 'if' in a function 'check_access' should be followed by a block MISRAC2012-RULE_15_6-b-2
43:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
44:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
46:  Conditional statement 'if' in a function 'check_access' should be followed by a block MISRAC2012-RULE_15_6-b-2
47:  The argument number '3' (8 byte essential type) is passed to the function 'TEE_CheckMemoryAccessRights' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
52:  Reserved name '__utee_check_outbuf_annotation' used MISRAC2012-RULE_21_2-a-2
55:  The argument number '1' ('essentially signed' type) is passed to the function 'check_access' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
55:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
55:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
 +  57:  "len" may possibly be null MISRAC2012-DIR_4_1-b-2
57:  The argument number '1' ('essentially signed' type) is passed to the function 'check_access' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
57:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
57:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
60:  Reserved name '__utee_check_instring_annotation' used MISRAC2012-RULE_21_2-a-2
63:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
63:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
66:  Reserved name '__utee_check_outstring_annotation' used MISRAC2012-RULE_21_2-a-2
69:  The argument number '1' ('essentially signed' type) is passed to the function 'check_access' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
69:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
69:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
 +  71:  "len" may possibly be null MISRAC2012-DIR_4_1-b-2
71:  The argument number '1' ('essentially signed' type) is passed to the function 'check_access' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
71:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
71:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
74:  Reserved name '__utee_check_out_annotation' used MISRAC2012-RULE_21_2-a-2
80:  Reserved name '__utee_check_attr_in_annotation' used MISRAC2012-RULE_21_2-a-2
83:  Cast from 'const TEE_Attribute *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
86:  Reserved name '__utee_check_inout_annotation' used MISRAC2012-RULE_21_2-a-2
89:  The argument number '1' ('essentially signed' type) is passed to the function 'check_access' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
89:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
89:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
/optee_os_MISRA/libutee/tee_api_private.h
12:  Reserved name '__utee_from_attr' used MISRAC2012-RULE_21_2-a-2
15:  Reserved name '__utee_entry' used MISRAC2012-RULE_21_2-a-2
23:  Reserved name '__utee_gprof_init' used MISRAC2012-RULE_21_2-a-2
24:  Reserved name '__utee_gprof_fini' used MISRAC2012-RULE_21_2-a-2
32:  Reserved name '__utee_check_out_annotation' used MISRAC2012-RULE_21_2-a-2
33:  Reserved name '__utee_check_inout_annotation' used MISRAC2012-RULE_21_2-a-2
34:  Reserved name '__utee_check_attr_in_annotation' used MISRAC2012-RULE_21_2-a-2
35:  Reserved name '__utee_check_outbuf_annotation' used MISRAC2012-RULE_21_2-a-2
36:  Reserved name '__utee_check_instring_annotation' used MISRAC2012-RULE_21_2-a-2
37:  Reserved name '__utee_check_outstring_annotation' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/libutee/tee_api_property.c
33:  Declaration of object 'tee_props' does not precede its definition MISRAC2012-RULE_8_4-a-2
55:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
55:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
58:  Integer constant '0xFFFFFFFE' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
58:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
61:  Integer constant '0xFFFFFFFD' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
61:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
65:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
93:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
103:  Conditional statement 'if' in a function 'propget_get_ext_prop' should be followed by a block MISRAC2012-RULE_15_6-b-2
105:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
107:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
108:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
111:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
114:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
118:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
119:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
122:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
123:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
129:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
129:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
130:  Integer constant '0xFFFFFFFE' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
130:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
131:  Integer constant '0xFFFFFFFD' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
131:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
148:  Conditional statement 'if' in a function 'propget_get_property' should be followed by a block MISRAC2012-RULE_15_6-b-2
148:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
152:  Conditional statement 'if' in a function 'propget_get_property' should be followed by a block MISRAC2012-RULE_15_6-b-2
152:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
158:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
159:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
161:  Conditional statement 'if' in a function 'propget_get_property' should be followed by a block MISRAC2012-RULE_15_6-b-2
161:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
163:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
166:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'struct prop_enumerator *' MISRAC2012-RULE_11_2-a-2
169:  Conditional statement 'if' in a function 'propget_get_property' should be followed by a block MISRAC2012-RULE_15_6-b-2
169:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
170:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
173:  Conditional statement 'if' in a function 'propget_get_property' should be followed by a block MISRAC2012-RULE_15_6-b-2
173:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
176:  Conditional statement 'if' in a function 'propget_get_property' should be followed by a block MISRAC2012-RULE_15_6-b-2
178:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
180:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
182:  Conditional statement 'if' in a function 'propget_get_property' should be followed by a block MISRAC2012-RULE_15_6-b-2
182:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
183:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
186:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
190:  Identifiers given in declaration of 'TEE_GetPropertyAsString' function (file: 'tee_api.h', line: '18') are: 'valueBuffer, valueBufferLen' not: 'value, value_len' MISRAC2012-RULE_8_3-b-2
197:  Variable 'tmp_buf' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-a-2
197:  Variable 'tmp_buf' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
203:  Conditional statement 'if' in a function 'TEE_GetPropertyAsString' should be followed by a block MISRAC2012-RULE_15_6-b-2
208:  Conditional statement 'if' in a function 'TEE_GetPropertyAsString' should be followed by a block MISRAC2012-RULE_15_6-b-2
209:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
210:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
211:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
212:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
218:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
219:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
226:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
241:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
241:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
245:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
250:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
263:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
269:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
269:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
270:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
276:  Conditional statement 'if' in a function 'TEE_GetPropertyAsString' should be followed by a block MISRAC2012-RULE_15_6-b-2
277:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
278:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
281:  Conditional statement 'if' in a function 'TEE_GetPropertyAsString' should be followed by a block MISRAC2012-RULE_15_6-b-2
281:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
283:  Conditional statement 'if' in a function 'TEE_GetPropertyAsString' should be followed by a block MISRAC2012-RULE_15_6-b-2
283:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
284:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
285:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
296:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
298:  Conditional statement 'if' in a function 'TEE_GetPropertyAsBool' should be followed by a block MISRAC2012-RULE_15_6-b-2
305:  Conditional statement 'if' in a function 'TEE_GetPropertyAsBool' should be followed by a block MISRAC2012-RULE_15_6-b-2
306:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
307:  Conditional statement 'if' in a function 'TEE_GetPropertyAsBool' should be followed by a block MISRAC2012-RULE_15_6-b-2
307:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
311:  Conditional statement 'if' in a function 'TEE_GetPropertyAsBool' should be followed by a block MISRAC2012-RULE_15_6-b-2
311:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
312:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
313:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
324:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
326:  Conditional statement 'if' in a function 'TEE_GetPropertyAsU32' should be followed by a block MISRAC2012-RULE_15_6-b-2
333:  Conditional statement 'if' in a function 'TEE_GetPropertyAsU32' should be followed by a block MISRAC2012-RULE_15_6-b-2
334:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
336:  Conditional statement 'if' in a function 'TEE_GetPropertyAsU32' should be followed by a block MISRAC2012-RULE_15_6-b-2
336:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
337:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
338:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
344:  Identifiers given in declaration of 'TEE_GetPropertyAsBinaryBlock' function (file: 'tee_api.h', line: '28') are: 'valueBuffer, valueBufferLen' not: 'value, value_len' MISRAC2012-RULE_8_3-b-2
351:  Conditional statement 'if' in a function 'TEE_GetPropertyAsBinaryBlock' should be followed by a block MISRAC2012-RULE_15_6-b-2
358:  Conditional statement 'if' in a function 'TEE_GetPropertyAsBinaryBlock' should be followed by a block MISRAC2012-RULE_15_6-b-2
359:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
361:  Conditional statement 'if' in a function 'TEE_GetPropertyAsBinaryBlock' should be followed by a block MISRAC2012-RULE_15_6-b-2
361:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
362:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
363:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
364:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
375:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
377:  Conditional statement 'if' in a function 'TEE_GetPropertyAsUUID' should be followed by a block MISRAC2012-RULE_15_6-b-2
384:  Conditional statement 'if' in a function 'TEE_GetPropertyAsUUID' should be followed by a block MISRAC2012-RULE_15_6-b-2
385:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
387:  Conditional statement 'if' in a function 'TEE_GetPropertyAsUUID' should be followed by a block MISRAC2012-RULE_15_6-b-2
387:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
388:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
389:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
400:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
402:  Conditional statement 'if' in a function 'TEE_GetPropertyAsIdentity' should be followed by a block MISRAC2012-RULE_15_6-b-2
409:  Conditional statement 'if' in a function 'TEE_GetPropertyAsIdentity' should be followed by a block MISRAC2012-RULE_15_6-b-2
410:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
412:  Conditional statement 'if' in a function 'TEE_GetPropertyAsIdentity' should be followed by a block MISRAC2012-RULE_15_6-b-2
412:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
413:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
414:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
427:  The argument number '1' (8 byte essential type) is passed to the function 'TEE_Malloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
428:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
430:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
434:  The expression of type 'struct prop_enumerator *' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
440:  Conditional statement 'if' in a function 'TEE_AllocatePropertyEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
440:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
449:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'struct prop_enumerator *' MISRAC2012-RULE_11_2-a-2
451:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
456:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'struct prop_enumerator *' MISRAC2012-RULE_11_2-a-2
464:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'struct prop_enumerator *' MISRAC2012-RULE_11_2-a-2
466:  Conditional statement 'if' in a function 'TEE_StartPropertyEnumerator' should be followed by a block MISRAC2012-RULE_15_6-b-2
466:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
473:  Identifiers given in declaration of 'TEE_GetPropertyName' function (file: 'tee_api.h', line: '47') are: 'nameBuffer, nameBufferLen' not: 'name, name_len' MISRAC2012-RULE_8_3-b-2
477:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'struct prop_enumerator *' MISRAC2012-RULE_11_2-a-2
483:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
484:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  489:  Value of "bufferlen" is never used MISRAC2012-RULE_2_2-b-2
491:  Conditional statement 'if' in a function 'TEE_GetPropertyName' should be followed by a block MISRAC2012-RULE_15_6-b-2
491:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
496:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
497:  Conditional statement 'if' in a function 'TEE_GetPropertyName' should be followed by a block MISRAC2012-RULE_15_6-b-2
498:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
499:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
501:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
504:  Conditional statement 'if' in a function 'TEE_GetPropertyName' should be followed by a block MISRAC2012-RULE_15_6-b-2
504:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
509:  Conditional statement 'if' in a function 'TEE_GetPropertyName' should be followed by a block MISRAC2012-RULE_15_6-b-2
509:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
510:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
511:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
519:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'struct prop_enumerator *' MISRAC2012-RULE_11_2-a-2
524:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
525:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
529:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
530:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
535:  Conditional statement 'if' in a function 'TEE_GetNextProperty' should be followed by a block MISRAC2012-RULE_15_6-b-2
535:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
538:  Operands of the '+' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
540:  Conditional statement 'if' in a function 'TEE_GetNextProperty' should be followed by a block MISRAC2012-RULE_15_6-b-2
543:  An 'else' statement in a function 'TEE_GetNextProperty' shall be followed by a block MISRAC2012-RULE_15_6-b-2
543:  Pointer to incomplete type 'struct __TEE_PropSetHandle *' should not be cast to type 'unsigned long' MISRAC2012-RULE_11_2-a-2
548:  Conditional statement 'if' in a function 'TEE_GetNextProperty' should be followed by a block MISRAC2012-RULE_15_6-b-2
548:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
549:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/libutee/tee_socket_private.h
7:  Do not use reserved identifiers : __TEE_SOCKET_PRIVATE_H MISRAC2012-RULE_21_1-a-2
12:  Reserved name '__tee_socket_ioctl_cmd_to_proto' used MISRAC2012-RULE_21_2-a-2
14:  The expression of the 'unsigned int' essential type (4 byte) is returned from the function '__tee_socket_ioctl_cmd_to_proto' with a narrower essential return type (1 byte) MISRAC2012-RULE_10_3-a-2
17:  Reserved name '__tee_socket_pta_open' used MISRAC2012-RULE_21_2-a-2
21:  Reserved name '__tee_socket_pta_close' used MISRAC2012-RULE_21_2-a-2
23:  Reserved name '__tee_socket_pta_send' used MISRAC2012-RULE_21_2-a-2
26:  Reserved name '__tee_socket_pta_recv' used MISRAC2012-RULE_21_2-a-2
29:  Reserved name '__tee_socket_pta_ioctl' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/libutee/tee_socket_pta.c
17:  Variable 'sess' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
20:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
22:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
25:  Conditional statement 'if' in a function 'invoke_socket_pta' should be followed by a block MISRAC2012-RULE_15_6-b-2
25:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
29:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
33:  Reserved name '__tee_socket_pta_open' used MISRAC2012-RULE_21_2-a-2
41:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
41:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
41:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
41:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
41:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
41:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
41:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
45:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
51:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
54:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
59:  Conditional statement 'if' in a function '__tee_socket_pta_open' should be followed by a block MISRAC2012-RULE_15_6-b-2
59:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
60:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
61:  Cast from 'const char *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
62:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
62:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
70:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
74:  Conditional statement 'if' in a function '__tee_socket_pta_open' should be followed by a block MISRAC2012-RULE_15_6-b-2
74:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
79:  Reserved name '__tee_socket_pta_close' used MISRAC2012-RULE_21_2-a-2
84:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
84:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
84:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
84:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
84:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
84:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
84:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
87:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
93:  Reserved name '__tee_socket_pta_send' used MISRAC2012-RULE_21_2-a-2
100:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
100:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
100:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
100:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
100:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
100:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
100:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
104:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
109:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
117:  Reserved name '__tee_socket_pta_recv' used MISRAC2012-RULE_21_2-a-2
125:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
125:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
125:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
125:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
125:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
125:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
125:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
128:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
141:  Reserved name '__tee_socket_pta_ioctl' used MISRAC2012-RULE_21_2-a-2
148:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
148:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
148:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
148:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
148:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
148:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
148:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
151:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/libutee/tee_system_pta.c
17:  Variable 'sess' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
20:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
21:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
24:  Conditional statement 'if' in a function 'invoke_system_pta' should be followed by a block MISRAC2012-RULE_15_6-b-2
24:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
28:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
34:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
34:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
34:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
34:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
34:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
34:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
34:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
41:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
42:  Conditional statement 'if' in a function 'tee_map_zi' should be followed by a block MISRAC2012-RULE_15_6-b-2
55:  Conditional statement 'if' in a function 'tee_map_zi' should be followed by a block MISRAC2012-RULE_15_6-b-2
55:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
58:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
65:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
65:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
65:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
65:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
65:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
65:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
65:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
71:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
72:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
75:  Conditional statement 'if' in a function 'tee_unmap' should be followed by a block MISRAC2012-RULE_15_6-b-2
75:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
86:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
86:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
86:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
86:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
86:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
86:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
86:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
92:  Conditional statement 'if' in a function 'tee_invoke_supp_plugin' should be followed by a block MISRAC2012-RULE_15_6-b-2
92:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
92:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
92:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
92:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
92:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
93:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
95:  Cast from 'const TEE_UUID *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
96:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
100:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
104:  Conditional statement 'if' in a function 'tee_invoke_supp_plugin' should be followed by a block MISRAC2012-RULE_15_6-b-2
104:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
107:  Conditional statement 'if' in a function 'tee_invoke_supp_plugin' should be followed by a block MISRAC2012-RULE_15_6-b-2
107:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/libutee/tee_tcpudp_socket.c
27:  Conditional statement 'if' in a function 'tcp_open' should be followed by a block MISRAC2012-RULE_15_6-b-2
27:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
27:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
27:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
32:  The argument number '1' (8 byte essential type) is passed to the function 'TEE_Malloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
33:  Conditional statement 'if' in a function 'tcp_open' should be followed by a block MISRAC2012-RULE_15_6-b-2
33:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
34:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
41:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
48:  Integer constant '0xF1007007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
50:  Integer constant '0xF1007001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
51:  Integer constant '0xF1010002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
53:  Integer constant '0xF1007006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
66:  Conditional statement 'if' in a function 'udp_open' should be followed by a block MISRAC2012-RULE_15_6-b-2
66:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
66:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
66:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
71:  The argument number '1' (8 byte essential type) is passed to the function 'TEE_Malloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
72:  Conditional statement 'if' in a function 'udp_open' should be followed by a block MISRAC2012-RULE_15_6-b-2
72:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
73:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
80:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
87:  Integer constant '0xF1007007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
89:  Integer constant '0xF1007001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
90:  Integer constant '0xF1020002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
92:  Integer constant '0xF1007006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
103:  Conditional statement 'if' in a function 'sock_close' should be followed by a block MISRAC2012-RULE_15_6-b-2
103:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
118:  Conditional statement 'if' in a function 'sock_send' should be followed by a block MISRAC2012-RULE_15_6-b-2
118:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
118:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
118:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
133:  Conditional statement 'if' in a function 'sock_recv' should be followed by a block MISRAC2012-RULE_15_6-b-2
133:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
133:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
133:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
133:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
146:  Conditional statement 'if' in a function 'sock_error' should be followed by a block MISRAC2012-RULE_15_6-b-2
146:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
155:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
158:  Conditional statement 'if' in a function 'tcp_ioctl' should be followed by a block MISRAC2012-RULE_15_6-b-2
158:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
158:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
158:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
158:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
161:  Conditional statement 'if' in a function 'tcp_ioctl' should be followed by a block MISRAC2012-RULE_15_6-b-2
161:  Operands of the '==' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
170:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
170:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
182:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
185:  Conditional statement 'if' in a function 'udp_ioctl' should be followed by a block MISRAC2012-RULE_15_6-b-2
185:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
185:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
185:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
185:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
188:  Conditional statement 'if' in a function 'udp_ioctl' should be followed by a block MISRAC2012-RULE_15_6-b-2
188:  Operands of the '==' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
197:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
197:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
/optee_os_MISRA/libutee/tee_uuid_from_str.c
14:  The argument number '1' ('essentially character' type) is passed to the function 'tolower' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
14:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
16:  Conditional statement 'if' in a function 'hex' should be followed by a block MISRAC2012-RULE_15_6-b-2
16:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
16:  The argument number '1' ('essentially character' type) is passed to the function 'isdigit' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
18:  Conditional statement 'if' in a function 'hex' should be followed by a block MISRAC2012-RULE_15_6-b-2
18:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
18:  The argument number '1' ('essentially character' type) is passed to the function 'isxdigit' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
32:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
35:  Operands of the '+' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
49:  Conditional statement 'if' in a function 'tee_uuid_from_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
49:  Operands of the '!=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
49:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
51:  Conditional statement 'if' in a function 'tee_uuid_from_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
52:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
55:  Conditional statement 'if' in a function 'tee_uuid_from_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
55:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
58:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
59:  Conditional statement 'if' in a function 'tee_uuid_from_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
59:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
62:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
63:  Conditional statement 'if' in a function 'tee_uuid_from_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
63:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
66:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
67:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
68:  Conditional statement 'if' in a function 'tee_uuid_from_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
68:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
70:  Conditional statement 'if' in a function 'tee_uuid_from_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
70:  Operands of the '==' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
73:  An 'else' statement in a function 'tee_uuid_from_str' shall be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/libutee/trace_ext.c
21:  The 'trace_ext_puts' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
30:  The 'trace_ext_get_thread_id' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
43:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-a-2
43:  The identifier 'va_list' shall not be used MISRAC2012-RULE_17_1-b-2
46:  Conditional statement 'if' in a function 'printf' should be followed by a block MISRAC2012-RULE_15_6-b-2
49:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-a-2
49:  The identifier 'va_start' shall not be used MISRAC2012-RULE_17_1-b-2
50:  Usage of 'vsnprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
51:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
51:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
53:  Conditional statement 'if' in a function 'printf' should be followed by a block MISRAC2012-RULE_15_6-b-2
74:  Conditional statement 'if' in a function 'putchar' should be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/arm64.h
291:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
291:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
294:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
294:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
301:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
301:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
304:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
304:  Each instance of parameter: 'reg' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
314:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_cpacr_el1' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
315:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_daif' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
316:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_fpcr' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
317:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_fpsr' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
319:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_ctr_el0' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
321:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_contextidr_el1' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
322:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_sctlr_el1' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
325:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_cntfrq' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
327:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_cntkctl' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
329:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_cntps_ctl' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
331:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_cntps_tval' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
353:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_icc_ctlr' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
356:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_icc_iar0' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
357:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'read_icc_iar1' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/boot.h
6:  Do not use reserved identifiers : __KERNEL_BOOT_H MISRAC2012-RULE_21_1-a-2
42:  The 'embedded_secure_dtb' object has no definition MISRAC2012-RULE_8_6-a-2
43:  The 'boot_mmu_config' object has no definition MISRAC2012-RULE_8_6-a-2
51:  The 'cpu_on_handler' function has no definition MISRAC2012-RULE_8_6-a-2
64:  The 'plat_cpu_reset_early' function has no definition MISRAC2012-RULE_8_6-a-2
66:  The 'arm_cl2_config' function has no definition MISRAC2012-RULE_8_6-a-2
67:  The 'arm_cl2_enable' function has no definition MISRAC2012-RULE_8_6-a-2
88:  The 'ffa_secondary_cpu_boot_req' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/cache_helpers.h
7:  Do not use reserved identifiers : __KERNEL_CACHE_HELPERS_H MISRAC2012-RULE_21_1-a-2
20:  The 'dcache_cleaninv_range' function has no definition MISRAC2012-RULE_8_6-a-2
21:  The 'dcache_clean_range' function has no definition MISRAC2012-RULE_8_6-a-2
22:  The 'dcache_inv_range' function has no definition MISRAC2012-RULE_8_6-a-2
23:  The 'dcache_clean_range_pou' function has no definition MISRAC2012-RULE_8_6-a-2
25:  The 'icache_inv_all' function has no definition MISRAC2012-RULE_8_6-a-2
26:  The 'icache_inv_range' function has no definition MISRAC2012-RULE_8_6-a-2
27:  The 'icache_inv_user_range' function has no definition MISRAC2012-RULE_8_6-a-2
29:  The 'dcache_op_louis' function has no definition MISRAC2012-RULE_8_6-a-2
30:  The 'dcache_op_all' function has no definition MISRAC2012-RULE_8_6-a-2
32:  The 'dcache_op_level1' function has no definition MISRAC2012-RULE_8_6-a-2
33:  The 'dcache_op_level2' function has no definition MISRAC2012-RULE_8_6-a-2
34:  The 'dcache_op_level3' function has no definition MISRAC2012-RULE_8_6-a-2
43:  The expression of the 'essentially signed' type is returned from function 'dcache_get_line_size' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
43:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
44:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
44:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/delay.h
31:  Do not use reserved identifiers : __KERNEL_DELAY_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/embedded_ts.h
25:  The 'emb_ts_read' function has no definition MISRAC2012-RULE_8_6-a-2
26:  The 'emb_ts_close' function has no definition MISRAC2012-RULE_8_6-a-2
28:  The 'emb_ts_open' function has no definition MISRAC2012-RULE_8_6-a-2
32:  The 'emb_ts_get_size' function has no definition MISRAC2012-RULE_8_6-a-2
33:  The 'emb_ts_get_tag' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/misc.h
14:  Reserved name '__get_core_pos' used MISRAC2012-RULE_21_2-a-2
14:  The '__get_core_pos' function has no definition MISRAC2012-RULE_8_6-a-2
22:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
22:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
22:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
22:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
22:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
22:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
26:  The 'get_core_pos_mpidr' function has no definition MISRAC2012-RULE_8_6-a-2
28:  The 'read_mode_sp' function has no definition MISRAC2012-RULE_8_6-a-2
29:  The 'read_mode_lr' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/secure_partition.h
6:  Do not use reserved identifiers : __KERNEL_SECURE_PARTITION_H MISRAC2012-RULE_21_1-a-2
28:  Flexible array member 'nvp' is declared MISRAC2012-RULE_18_7-a-2
47:  A tag name 'ts_ctx' is reused MISRAC2012-RULE_5_7-a-2
63:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
69:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
72:  The 'sp_get_session' function has no definition MISRAC2012-RULE_8_6-a-2
73:  The 'sp_enter' function has no definition MISRAC2012-RULE_8_6-a-2
76:  Each instance of parameter: '_sp' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/spinlock.h
33:  Reserved name '__cpu_spin_lock' used MISRAC2012-RULE_21_2-a-2
33:  The '__cpu_spin_lock' function has no definition MISRAC2012-RULE_8_6-a-2
34:  Reserved name '__cpu_spin_unlock' used MISRAC2012-RULE_21_2-a-2
34:  The '__cpu_spin_unlock' function has no definition MISRAC2012-RULE_8_6-a-2
36:  Reserved name '__cpu_spin_trylock' used MISRAC2012-RULE_21_2-a-2
36:  The '__cpu_spin_trylock' function has no definition MISRAC2012-RULE_8_6-a-2
47:  Each instance of parameter: 'lock' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
57:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
59:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
64:  Conditional statement 'if' in a function 'cpu_spin_lock_dldetect' should be followed by a block MISRAC2012-RULE_15_6-b-2
64:  Operands of the '*' operator have different essential types: 'int' and 'unsigned char' MISRAC2012-RULE_10_4-a-2
85:  Conditional statement 'if' in a function 'cpu_spin_trylock' should be followed by a block MISRAC2012-RULE_15_6-b-2
85:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
87:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
99:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
99:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
99:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
99:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
99:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
99:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
108:  Each instance of parameter: 'lock' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
114:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
114:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
114:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
114:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
114:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
114:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
114:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/spmc_sp_handler.h
6:  Do not use reserved identifiers : __KERNEL_SPMC_SP_HANDLER_H MISRAC2012-RULE_21_1-a-2
17:  The 'spmc_sp_thread_entry' function has no definition MISRAC2012-RULE_8_6-a-2
18:  The 'spmc_sp_msg_handler' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/stmm_sp.h
8:  Do not use reserved identifiers : __KERNEL_STMM_SP_H MISRAC2012-RULE_21_1-a-2
143:  The 'stmm_sp_ops' object has no definition MISRAC2012-RULE_8_6-a-2
147:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
165:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/tee_l2cc_mutex.h
29:  A tag name 'mutex' is reused MISRAC2012-RULE_5_7-a-2
29:  Identifier 'mutex' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
30:  A tag name 'mutex' is reused MISRAC2012-RULE_5_7-a-2
30:  Identifier 'mutex' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
34:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
38:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
40:  A tag name 'mutex' is reused MISRAC2012-RULE_5_7-a-2
40:  Identifier 'mutex' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
42:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
44:  A tag name 'mutex' is reused MISRAC2012-RULE_5_7-a-2
44:  Identifier 'mutex' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
46:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/thread.h
37:  An external identifier with the same name 'thread_core_local' was declared in the 'thread.c' file in line 42 MISRAC2012-RULE_5_8-a-2
57:  An external identifier with the same name 'thread_vector_table' was declared in the 'thread.h' file in line 68 MISRAC2012-RULE_5_8-a-2
68:  A tag name 'thread_vector_table' is reused MISRAC2012-RULE_5_7-a-2
68:  The 'thread_vector_table' object has no definition MISRAC2012-RULE_8_6-a-2
256:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
398:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
398:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
398:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
398:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
398:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
522:  The 'thread_unwind_user_mode' function has no definition MISRAC2012-RULE_8_6-a-2
543:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
562:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
647:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
664:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
669:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
722:  The 'thread_smc' function has no definition MISRAC2012-RULE_8_6-a-2
741:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
777:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/tlb_helpers.h
15:  The 'tlbi_all' function has no definition MISRAC2012-RULE_8_6-a-2
16:  The 'tlbi_asid' function has no definition MISRAC2012-RULE_8_6-a-2
17:  The 'tlbi_mva_allasid' function has no definition MISRAC2012-RULE_8_6-a-2
30:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
35:  Composite expression with 'unsigned' essential type category and size of '32' bits shall not be cast to wider essential type of '64' bits MISRAC2012-RULE_10_8-a-2
35:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/tz_ssvce_pl310.h
13:  The 'pl310_base' function has no definition MISRAC2012-RULE_8_6-a-2
17:  An external identifier with the same name 'pl310_base' was declared in the 'tz_ssvce_pl310.h' file in line 13 MISRAC2012-RULE_5_8-a-2
17:  Identifier 'pl310_base' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
17:  The 'arm_cl2_cleaninvbyway' function has no definition MISRAC2012-RULE_8_6-a-2
18:  An external identifier with the same name 'pl310_base' was declared in the 'tz_ssvce_pl310.h' file in line 13 MISRAC2012-RULE_5_8-a-2
18:  Identifier 'pl310_base' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
18:  The 'arm_cl2_invbyway' function has no definition MISRAC2012-RULE_8_6-a-2
19:  An external identifier with the same name 'pl310_base' was declared in the 'tz_ssvce_pl310.h' file in line 13 MISRAC2012-RULE_5_8-a-2
19:  Identifier 'pl310_base' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
19:  The 'arm_cl2_cleanbyway' function has no definition MISRAC2012-RULE_8_6-a-2
20:  An external identifier with the same name 'pl310_base' was declared in the 'tz_ssvce_pl310.h' file in line 13 MISRAC2012-RULE_5_8-a-2
20:  Identifier 'pl310_base' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
20:  The 'arm_cl2_cleanbypa' function has no definition MISRAC2012-RULE_8_6-a-2
21:  An external identifier with the same name 'pl310_base' was declared in the 'tz_ssvce_pl310.h' file in line 13 MISRAC2012-RULE_5_8-a-2
21:  Identifier 'pl310_base' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
21:  The 'arm_cl2_invbypa' function has no definition MISRAC2012-RULE_8_6-a-2
22:  An external identifier with the same name 'pl310_base' was declared in the 'tz_ssvce_pl310.h' file in line 13 MISRAC2012-RULE_5_8-a-2
22:  Identifier 'pl310_base' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
22:  The 'arm_cl2_cleaninvbypa' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/mm/core_mmu.h
139:  The size of the array 'names' should be specified explicitly MISRAC2012-RULE_9_5-a-2
165:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
165:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
165:  Operands of the '==' operator have different essential types: 'unsigned long' and 'teecore_memtypes' MISRAC2012-RULE_10_4-a-2
165:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
165:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
198:  Do not use reserved identifiers : __register_memory MISRAC2012-RULE_21_1-a-2
199:  Each instance of parameter: '_section' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
204:  Do not use reserved identifiers : __register_memory_ul MISRAC2012-RULE_21_1-a-2
205:  Each instance of parameter: '_section' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
209:  Do not use reserved identifiers : __register_memory_ul MISRAC2012-RULE_21_1-a-2
210:  Each instance of parameter: '_addr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
210:  Each instance of parameter: '_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
210:  Each instance of parameter: '_section' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
210:  Each instance of parameter: '_size' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
210:  Each instance of parameter: '_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
223:  Each instance of parameter: 'addr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
223:  Each instance of parameter: 'type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
224:  Each instance of parameter: 'addr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
224:  Each instance of parameter: 'addr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
224:  Each instance of parameter: 'size' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
517:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'core_mmu_va2idx' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
529:  Essential type of RHS operand (64 bit) is wider than essential type of composite expression in LHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
541:  Operands of the '&' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
541:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
541:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
552:  Operands of the '==' operator have different essential types: 'unsigned int' and 'teecore_memtypes' MISRAC2012-RULE_10_4-a-2
553:  Operands of the '==' operator have different essential types: 'unsigned int' and 'teecore_memtypes' MISRAC2012-RULE_10_4-a-2
607:  Parameter number '1' type in function 'core_mmu_get_mem_by_type' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_3-a-2
607:  Parameter number '1' type in function 'core_mmu_get_mem_by_type' is non compatible with corresponding parameter type in other declaration MISRAC2012-RULE_8_4-b-2
615:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
615:  The expression of the 'essentially unsigned' type is returned from function 'core_mmu_is_shm_cached' with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
615:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
616:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
675:  The 'map_memarea_sections' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/mm/generic_ram_layout.h
7:  Do not use reserved identifiers : __MM_GENERIC_RAM_LAYOUT_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/mm/mobj.h
7:  Do not use reserved identifiers : __MM_MOBJ_H MISRAC2012-RULE_21_1-a-2
32:  An external identifier with the same name 'free' was declared in the 'malloc.h' file in line 11 MISRAC2012-RULE_5_8-a-2
43:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
43:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
45:  Conditional statement 'if' in a function 'mobj_get_va' should be followed by a block MISRAC2012-RULE_15_6-b-2
45:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
45:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
50:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
53:  Conditional statement 'if' in a function 'mobj_get_pa' should be followed by a block MISRAC2012-RULE_15_6-b-2
53:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
53:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
55:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
58:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
58:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
60:  Conditional statement 'if' in a function 'mobj_get_phys_offs' should be followed by a block MISRAC2012-RULE_15_6-b-2
60:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
60:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
65:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
65:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
67:  Conditional statement 'if' in a function 'mobj_get_cattr' should be followed by a block MISRAC2012-RULE_15_6-b-2
67:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
67:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
69:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
72:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
72:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
74:  Conditional statement 'if' in a function 'mobj_matches' should be followed by a block MISRAC2012-RULE_15_6-b-2
74:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
74:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
89:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
89:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
91:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
91:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
92:  Conditional statement 'if' in a function 'mobj_inc_map' should be followed by a block MISRAC2012-RULE_15_6-b-2
92:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
96:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
109:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
109:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
111:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
111:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
112:  Conditional statement 'if' in a function 'mobj_dec_map' should be followed by a block MISRAC2012-RULE_15_6-b-2
112:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
116:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
127:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
127:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
129:  Conditional statement 'if' in a function 'mobj_get' should be followed by a block MISRAC2012-RULE_15_6-b-2
129:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
142:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
142:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
144:  Conditional statement 'if' in a function 'mobj_put' should be followed by a block MISRAC2012-RULE_15_6-b-2
144:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
154:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
158:  Conditional statement 'if' in a function 'mobj_put_wipe' should be followed by a block MISRAC2012-RULE_15_6-b-2
158:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
163:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
163:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
165:  Conditional statement 'if' in a function 'mobj_get_cookie' should be followed by a block MISRAC2012-RULE_15_6-b-2
165:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
165:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
171:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
171:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
173:  Conditional statement 'if' in a function 'mobj_get_fobj' should be followed by a block MISRAC2012-RULE_15_6-b-2
173:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
173:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
179:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
179:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
184:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
184:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
189:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
189:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
194:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
194:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
196:  Conditional statement 'if' in a function 'mobj_get_phys_granule' should be followed by a block MISRAC2012-RULE_15_6-b-2
196:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
252:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
252:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
277:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
277:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
283:  The 'mobj_seccpy_shm_alloc' function has no definition MISRAC2012-RULE_8_6-a-2
285:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
285:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/mm/pgt_cache.h
57:  Operands of the '<=' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
57:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
57:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
57:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
60:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
60:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
62:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
62:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
64:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
64:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
70:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
70:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
105:  A tag name 'pgt' is reused MISRAC2012-RULE_5_7-a-2
105:  Identifier 'pgt' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
109:  A tag name 'pgt' is reused MISRAC2012-RULE_5_7-a-2
109:  Identifier 'pgt' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
113:  A tag name 'pgt' is reused MISRAC2012-RULE_5_7-a-2
113:  Identifier 'pgt' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/mm/tee_pager.h
25:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
31:  A tag name 'pgt' is reused MISRAC2012-RULE_5_7-a-2
43:  The 'tee_pager_early_init' function has no definition MISRAC2012-RULE_8_6-a-2
53:  The 'tee_pager_get_table_info' function has no definition MISRAC2012-RULE_8_6-a-2
62:  The 'tee_pager_phys_to_virt' function has no definition MISRAC2012-RULE_8_6-a-2
71:  The 'tee_pager_set_alias_area' function has no definition MISRAC2012-RULE_8_6-a-2
82:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
82:  The 'tee_pager_init_iv_area' function has no definition MISRAC2012-RULE_8_6-a-2
105:  The 'tee_pager_add_core_area' function has no definition MISRAC2012-RULE_8_6-a-2
106:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
126:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
129:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
173:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
225:  The 'tee_pager_add_pages' function has no definition MISRAC2012-RULE_8_6-a-2
233:  The 'tee_pager_alloc' function has no definition MISRAC2012-RULE_8_6-a-2
292:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
296:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
296:  The 'tee_pager_invalidate_fobj' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/sm/pm.h
41:  The 'sm_pm_cpu_suspend_save' function has no definition MISRAC2012-RULE_8_6-a-2
42:  The 'sm_pm_cpu_do_suspend' function has no definition MISRAC2012-RULE_8_6-a-2
43:  The 'sm_pm_cpu_do_resume' function has no definition MISRAC2012-RULE_8_6-a-2
50:  Names shall be given for all parameters in a function type 'int (uint32_t)' MISRAC2012-RULE_8_2-b-2
50:  The 'sm_pm_cpu_suspend' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/sm/psci.h
1:  Multiple include guard should appear as first #ifndef or #if preprocessor directive MISRAC2012-DIR_4_10-a-2
58:  The 'psci_version' function has no definition MISRAC2012-RULE_8_6-a-2
59:  The 'psci_cpu_suspend' function has no definition MISRAC2012-RULE_8_6-a-2
61:  The 'psci_cpu_off' function has no definition MISRAC2012-RULE_8_6-a-2
62:  The 'psci_cpu_on' function has no definition MISRAC2012-RULE_8_6-a-2
63:  The 'psci_affinity_info' function has no definition MISRAC2012-RULE_8_6-a-2
64:  The 'psci_migrate' function has no definition MISRAC2012-RULE_8_6-a-2
65:  The 'psci_migrate_info_type' function has no definition MISRAC2012-RULE_8_6-a-2
66:  The 'psci_migrate_info_up_cpu' function has no definition MISRAC2012-RULE_8_6-a-2
67:  The 'psci_system_off' function has no definition MISRAC2012-RULE_8_6-a-2
68:  The 'psci_system_reset' function has no definition MISRAC2012-RULE_8_6-a-2
69:  The 'psci_features' function has no definition MISRAC2012-RULE_8_6-a-2
70:  The 'psci_node_hw_state' function has no definition MISRAC2012-RULE_8_6-a-2
71:  The 'psci_system_suspend' function has no definition MISRAC2012-RULE_8_6-a-2
73:  The 'psci_stat_residency' function has no definition MISRAC2012-RULE_8_6-a-2
74:  The 'psci_stat_count' function has no definition MISRAC2012-RULE_8_6-a-2
75:  The 'tee_psci_handler' function has no definition MISRAC2012-RULE_8_6-a-2
77:  The 'psci_armv7_cpu_off' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/sm/sm.h
104:  The 'sm_get_nsec_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
107:  The 'sm_get_sp' function has no definition MISRAC2012-RULE_8_6-a-2
112:  The 'sm_init' function has no definition MISRAC2012-RULE_8_6-a-2
123:  The 'sm_platform_handler' function has no definition MISRAC2012-RULE_8_6-a-2
125:  The 'sm_save_unbanked_regs' function has no definition MISRAC2012-RULE_8_6-a-2
126:  The 'sm_restore_unbanked_regs' function has no definition MISRAC2012-RULE_8_6-a-2
132:  The 'vector_std_smc_entry' function has no definition MISRAC2012-RULE_8_6-a-2
134:  The 'vector_fast_smc_entry' function has no definition MISRAC2012-RULE_8_6-a-2
136:  The 'vector_fiq_entry' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/smccc.h
7:  Do not use reserved identifiers : __SMCCC_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/tee/arch_svc.h
23:  The identifier 'panic' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
23:  The identifier 'panic' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/tee/entry_fast.h
31:  Reserved name '__tee_entry_fast' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/tee/entry_std.h
20:  Reserved name '__tee_entry_std' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/abort.c
75:  Reserved name '__print_stack_unwind' used MISRAC2012-RULE_21_2-a-2
94:  Conditional statement 'if' in a function 'abort_type_to_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
94:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
96:  Conditional statement 'if' in a function 'abort_type_to_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
96:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
105:  Conditional statement 'if' in a function 'fault_to_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
105:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
105:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
123:  Reserved name '__print_abort_info' used MISRAC2012-RULE_21_2-a-2
143:  Conditional statement 'if' in a function '__print_abort_info' should be followed by a block MISRAC2012-RULE_15_6-b-2
146:  An 'else' statement in a function '__print_abort_info' shall be followed by a block MISRAC2012-RULE_15_6-b-2
215:  Reserved name '__abort_print' used MISRAC2012-RULE_21_2-a-2
249:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
252:  Conditional statement 'if' in a function 'abort_print_current_ts' should be followed by a block MISRAC2012-RULE_15_6-b-2
252:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
273:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
304:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
305:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
305:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
317:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
317:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
321:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
357:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
359:  Integer constant '0xdeadbeef' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
360:  Pointer to function 'void (*)(uint32_t, uint32_t, uint32_t)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
363:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
363:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
363:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
365:  Operands of the '|' operator have different essential types: 'int' and 'unsigned int' MISRAC2012-RULE_10_4-a-2
365:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
365:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
365:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
365:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
391:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
393:  Conditional statement 'if' in a function 'abort_is_user_exception' should be followed by a block MISRAC2012-RULE_15_6-b-2
393:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
393:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
393:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
393:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
395:  Conditional statement 'if' in a function 'abort_is_user_exception' should be followed by a block MISRAC2012-RULE_15_6-b-2
395:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
395:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
395:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
427:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
427:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
453:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
453:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
454:  Essential type of LHS operand (32 bit) is wider than essential type of composite expression in RHS operand (8 bit) MISRAC2012-RULE_10_7-a-2
457:  Function 'get_fault_type' should have return at the end of each execution path MISRAC2012-RULE_17_4-a-1
460:  Conditional statement 'if' in a function 'get_fault_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
472:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
473:  Conditional statement 'if' in a function 'get_fault_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
481:  Conditional statement 'if' in a function 'get_fault_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
488:  Conditional statement 'if' in a function 'get_fault_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
495:  Conditional statement 'if' in a function 'get_fault_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
506:  Conditional statement 'if' in a function 'get_fault_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
513:  Conditional statement 'if' in a function 'get_fault_type' should be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/asm-defines.c
14:  Prototype of function '__defines' does not precede function definition MISRAC2012-RULE_8_4-a-2
14:  Reserved name '__defines' used MISRAC2012-RULE_21_2-a-2
14:  Reserved name '__defines' used MISRAC2012-RULE_21_2-a-2
17:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
18:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
19:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
20:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
23:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
24:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
26:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
27:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
28:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
31:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
36:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
37:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
38:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
41:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
43:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
50:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
53:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
54:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
55:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
56:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
57:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
58:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
59:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
60:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
64:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
65:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
66:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
67:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
71:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
72:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
77:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
78:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
79:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
80:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
81:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
82:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
83:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
88:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
90:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
92:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
96:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
97:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
104:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
109:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
111:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
113:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
115:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
120:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
124:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
126:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
128:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
130:  Potential macro 'offsetof' used as '2' parameter of potential macro 'DEFINE' MISRAC2012-RULE_20_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/boot.c
94:  Declaration of object '____keep_pager_plat_primary_init_early_core_arch_arm_kernel_boot_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
94:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
94:  Reserved name '____keep_pager_plat_primary_init_early' used MISRAC2012-RULE_21_2-a-2
94:  Reserved name '____keep_pager_plat_primary_init_early_core_arch_arm_kernel_boot_c' used MISRAC2012-RULE_21_2-a-2
94:  The '____keep_pager_plat_primary_init_early' object has no definition MISRAC2012-RULE_8_6-a-2
94:  The identifier '____keep_pager_plat_primary_init_early_core_arch_arm_kernel_boot_c' has the same first 31 characters of the name as the identifier '____keep_pager_plat_primary_init_early' defined in the 'boot.c' file in line '94' MISRAC2012-RULE_5_1-a-2
97:  The 'main_init_gic' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
109:  Operands of the '*' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
109:  Potential macro 'PADDR_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
118:  Potential macro 'PADDR_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
229:  Do not use reserved identifiers : __ASAN_SHADOW_START MISRAC2012-RULE_21_1-a-2
231:  Potential macro '__ASAN_SHADOW_START' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
232:  Do not use reserved identifiers : __CFG_ASAN_SHADOW_OFFSET MISRAC2012-RULE_21_1-a-2
235:  Do not use reserved identifiers : __ASAN_SHADOW_START MISRAC2012-RULE_21_1-a-2
236:  Do not use reserved identifiers : __CFG_ASAN_SHADOW_OFFSET MISRAC2012-RULE_21_1-a-2
402:  Potential macro 'SMALL_PAGE_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
474:  Potential macro 'SMALL_PAGE_MASK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
 +  550:  Pointers "__heap1_end" and "__heap1_start", which do not address the elements of the same array, are subtracted MISRAC2012-DIR_4_1-i-2
 +  550:  Pointers "__heap1_end" and "__heap1_start", which do not address the elements of the same array, are subtracted MISRAC2012-RULE_18_2-a-2
550:  The argument number '2' ('essentially signed' type) is passed to the function 'malloc_add_pool' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
 +  561:  Condition "!fdt" always evaluates to true MISRAC2012-RULE_14_3-ac-2
561:  Conditional statement 'if' in a function 'get_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
561:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
603:  Conditional statement 'if' in a function 'release_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
603:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
613:  Conditional statement 'if' in a function 'release_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
613:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
622:  Reserved name '__scattered_array_0finalcall' used MISRAC2012-RULE_21_2-a-2
682:  Conditional statement 'if' in a function 'add_dt_path_subnode' should be followed by a block MISRAC2012-RULE_15_6-b-2
 +  685:  Condition "offs < 0" always evaluates to false MISRAC2012-RULE_14_3-ac-2
685:  Conditional statement 'if' in a function 'add_dt_path_subnode' should be followed by a block MISRAC2012-RULE_15_6-b-2
688:  Conditional statement 'if' in a function 'add_dt_path_subnode' should be followed by a block MISRAC2012-RULE_15_6-b-2
706:  Conditional statement 'if' in a function 'add_optee_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
711:  Conditional statement 'if' in a function 'add_optee_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
716:  Conditional statement 'if' in a function 'add_optee_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
719:  Conditional statement 'if' in a function 'add_optee_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
822:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
825:  In the call of the function 'memcpy' the first argument type 'void*' is not compatible with the second argument type 'unsigned int*' MISRAC2012-RULE_21_15-a-2
825:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
829:  In the call of the function 'memcpy' the first argument type 'void*' is not compatible with the second argument type 'unsigned long*' MISRAC2012-RULE_21_15-a-2
829:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
850:  Unreachable code inside 'if' block MISRAC2012-RULE_2_1-c-2
851:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
852:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
855:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
858:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
864:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
867:  The argument number '4' ('essentially signed' type) is passed to the function 'fdt_setprop_cell' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
868:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
870:  The argument number '4' ('essentially signed' type) is passed to the function 'fdt_setprop_cell' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
871:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
874:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
878:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
880:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
886:  The argument number '2' ('essentially signed' type) is passed to the function 'set_dt_val' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
887:  The argument number '2' ('essentially signed' type) is passed to the function 'set_dt_val' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
889:  Operands of the '*' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
889:  The argument number '5' ('essentially unsigned' type) is passed to the function 'fdt_setprop' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
890:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
893:  Conditional statement 'if' in a function 'add_res_mem_dt_node' should be followed by a block MISRAC2012-RULE_15_6-b-2
907:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
910:  In the call of the function 'memcpy' the first argument type 'unsigned int*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
910:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
916:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
916:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
944:  Conditional statement 'if' in a function 'get_nsec_memory_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
948:  Conditional statement 'if' in a function 'get_nsec_memory_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
954:  The argument number '5' ('essentially unsigned' type) is passed to the function 'fdt_node_offset_by_prop_value' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
955:  Conditional statement 'if' in a function 'get_nsec_memory_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
958:  Conditional statement 'if' in a function 'get_nsec_memory_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
958:  Operands of the '!=' operator have different essential types: 'int' and 'unsigned char' MISRAC2012-RULE_10_4-a-2
963:  Conditional statement 'if' in a function 'get_nsec_memory_helper' should be followed by a block MISRAC2012-RULE_15_6-b-2
963:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
966:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
967:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
967:  The second clause of a 'for' statement contains an object that is modified inside the loop body: 'prop_offs' MISRAC2012-RULE_14_2-c-2
967:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
967:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
968:  The argument number '3' ('essentially signed' type) is passed to the function 'get_dt_val_and_advance' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
974:  The argument number '3' ('essentially signed' type) is passed to the function 'get_dt_val_and_advance' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
975:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
983:  Operands of the '+=' operator have different essential types: 'int' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
995:  Conditional statement 'if' in a function 'get_nsec_memory' should be followed by a block MISRAC2012-RULE_15_6-b-2
998:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
998:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
998:  The argument number '1' ('essentially signed' type) is passed to the function 'calloc' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
999:  Conditional statement 'if' in a function 'get_nsec_memory' should be followed by a block MISRAC2012-RULE_15_6-b-2
999:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1005:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1018:  Conditional statement 'if' in a function 'mark_static_shm_as_reserved' should be followed by a block MISRAC2012-RULE_15_6-b-2
1020:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1034:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1047:  Conditional statement 'if' in a function 'init_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1051:  Conditional statement 'if' in a function 'init_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1051:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1082:  Conditional statement 'if' in a function 'update_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1082:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1085:  Conditional statement 'if' in a function 'update_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1085:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1088:  Conditional statement 'if' in a function 'update_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1088:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1092:  Conditional statement 'if' in a function 'update_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1092:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1096:  Conditional statement 'if' in a function 'update_external_dt' should be followed by a block MISRAC2012-RULE_15_6-b-2
1096:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1131:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1133:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1141:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
1142:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
1143:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1144:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1149:  Potential macro 'phys_ddr_overall_compat_begin' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1149:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
1149:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
1150:  Potential macro 'phys_ddr_overall_compat_end' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1152:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
1153:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
1154:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1155:  Conditional statement 'if' in a function 'discover_nsec_memory' should be followed by a block MISRAC2012-RULE_15_6-b-2
1155:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1160:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
1160:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
1161:  Conditional statement 'if' in a function 'discover_nsec_memory' should be followed by a block MISRAC2012-RULE_15_6-b-2
1161:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1164:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
 +  1164:  The return value of the "scattered_array_relax_ptr" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
1164:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
1196:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_set_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1196:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1196:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1196:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1196:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1196:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1196:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1208:  Unreachable code inside 'if' block MISRAC2012-RULE_2_1-c-2
1228:  The 'boot_init_primary_late' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
1267:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_set_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1267:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1267:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1267:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1267:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1267:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1267:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1283:  The 'boot_init_primary_early' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
1286:  Operands of the '*' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1299:  Operands of the '*' operator have different essential types: 'long' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1352:  The 'get_aslr_seed' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
1359:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1370:  Operands of the '!=' operator have different essential types: 'int' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1370:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/delay.c
36:  'while' statement in a function 'udelay' should be followed by a block MISRAC2012-RULE_15_6-a-2
42:  Operands of the '*' operator have different essential types: 'short' and 'unsigned int' MISRAC2012-RULE_10_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/ldelf_loader.c
16:  The 'ldelf_data' object has incompatible declarations in other translation units MISRAC2012-RULE_8_3-c-2
19:  The 'ldelf_entry' object has incompatible declarations in other translation units MISRAC2012-RULE_8_3-c-2
32:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
32:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
33:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
33:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
33:  The argument number '1' (8 byte essential type) is passed to the function 'fobj_sec_mem_alloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
34:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
34:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
38:  Conditional statement 'if' in a function 'alloc_and_map_ldelf_fobj' should be followed by a block MISRAC2012-RULE_15_6-b-2
38:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
39:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
61:  The argument number '2' ('essentially signed' type) is passed to the function 'alloc_and_map_ldelf_fobj' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
64:  Conditional statement 'if' in a function 'ldelf_load_ldelf' should be followed by a block MISRAC2012-RULE_15_6-b-2
64:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
66:  Operands of the '+' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
70:  Conditional statement 'if' in a function 'ldelf_load_ldelf' should be followed by a block MISRAC2012-RULE_15_6-b-2
70:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
74:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
74:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
77:  Conditional statement 'if' in a function 'ldelf_load_ldelf' should be followed by a block MISRAC2012-RULE_15_6-b-2
77:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
82:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
82:  In the call of the function 'memcpy' the first argument type 'void*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
82:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
83:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
83:  In the call of the function 'memcpy' the first argument type 'void*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
83:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
86:  Operands of the '-' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
86:  Operands of the '-' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
86:  The value of a composite expression (32 bit essential type) is passed to function 'vm_set_prot' as parameter with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
88:  Conditional statement 'if' in a function 'ldelf_load_ldelf' should be followed by a block MISRAC2012-RULE_15_6-b-2
88:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
106:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
106:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
108:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
120:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
123:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
125:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
131:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
131:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
131:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
134:  Conditional statement 'if' in a function 'ldelf_init_with_ldelf' should be followed by a block MISRAC2012-RULE_15_6-b-2
134:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
142:  Conditional statement 'if' in a function 'ldelf_init_with_ldelf' should be followed by a block MISRAC2012-RULE_15_6-b-2
142:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
143:  Integer constant '0xFFFF0005' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
148:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
173:  'for' statement in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-a-2
173:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
174:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
174:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
178:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
183:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
183:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
183:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
186:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
191:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
195:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
196:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
197:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
197:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
198:  Unused function's "mobj_get_pa" return value MISRAC2012-RULE_17_7-a-2
202:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
202:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
204:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
204:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
206:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
206:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
208:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
208:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
210:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
210:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
212:  Conditional statement 'if' in a function 'ldelf_dump_state' should be followed by a block MISRAC2012-RULE_15_6-b-2
212:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
239:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
240:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
241:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
242:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
243:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
244:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
245:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
246:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
247:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
248:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
249:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
250:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
251:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
252:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
253:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
254:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
273:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
277:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
343:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
349:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
351:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
351:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
355:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
355:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
355:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
359:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
364:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
379:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
382:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
384:  Conditional statement 'if' in a function 'ldelf_dlopen' should be followed by a block MISRAC2012-RULE_15_6-b-2
384:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
394:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
401:  Conditional statement 'if' in a function 'ldelf_dlsym' should be followed by a block MISRAC2012-RULE_15_6-b-2
402:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
404:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
404:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
404:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
408:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
408:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
408:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
411:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
412:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
417:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
 +  420:  The number of bytes to process by the "memcpy" function is not positive and equals 0 MISRAC2012-RULE_21_18-a-1
420:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
433:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
436:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
438:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
440:  Conditional statement 'if' in a function 'ldelf_dlsym' should be followed by a block MISRAC2012-RULE_15_6-b-2
440:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/link_dummies_init.c
10:  The 'get_aslr_seed' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
16:  The 'core_init_mmu_map' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
22:  The 'boot_init_primary_early' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/link_dummies_paged.c
15:  The 'call_initcalls' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
19:  The 'call_finalcalls' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
24:  The 'boot_init_primary_late' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
29:  Reserved name '__thread_std_smc_entry' used MISRAC2012-RULE_21_2-a-2
29:  The '__thread_std_smc_entry' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
35:  Reserved name '__wq_rpc' used MISRAC2012-RULE_21_2-a-2
35:  The '__wq_rpc' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/otp_stubs.c
22:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
28:  Conditional statement 'if' in a function 'tee_otp_get_die_id' should be followed by a block MISRAC2012-RULE_15_6-b-2
28:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
47:  Operands of the '==' operator have different essential types: 'unsigned int' and 'shdr_enc_key_type' MISRAC2012-RULE_10_4-a-2
49:  Conditional statement 'if' in a function 'tee_otp_get_ta_enc_key' should be followed by a block MISRAC2012-RULE_15_6-b-2
49:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
51:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/rpc_io_i2c.c
19:  Identifiers given in declaration of 'rpc_io_i2c_transfer' function (file: 'rpc_io_i2c.h', line: '36') are: 'p, bytes' not: 'req, len' MISRAC2012-RULE_8_3-b-2
23:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
23:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
26:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
28:  Conditional statement 'if' in a function 'rpc_io_i2c_transfer' should be followed by a block MISRAC2012-RULE_15_6-b-2
28:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
29:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
34:  Conditional statement 'if' in a function 'rpc_io_i2c_transfer' should be followed by a block MISRAC2012-RULE_15_6-b-2
34:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
35:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
37:  Conditional statement 'if' in a function 'rpc_io_i2c_transfer' should be followed by a block MISRAC2012-RULE_15_6-b-2
38:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
40:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
46:  Conditional statement 'if' in a function 'rpc_io_i2c_transfer' should be followed by a block MISRAC2012-RULE_15_6-b-2
46:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
53:  Conditional statement 'if' in a function 'rpc_io_i2c_transfer' should be followed by a block MISRAC2012-RULE_15_6-b-2
54:  Integer constant '0xFFFF0004' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
58:  Conditional statement 'if' in a function 'rpc_io_i2c_transfer' should be followed by a block MISRAC2012-RULE_15_6-b-2
59:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/spin_lock_debug.c
16:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
23:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
42:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/tee_time.c
17:  Reserved name '_time_source' used MISRAC2012-RULE_21_2-a-2
25:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
 +  42:  The return value of the "thread_rpc_cmd" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
42:  Unused function's "thread_rpc_cmd" return value MISRAC2012-RULE_17_7-a-2
55:  Conditional statement 'if' in a function 'tee_time_get_ree_time' should be followed by a block MISRAC2012-RULE_15_6-b-2
55:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
56:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
61:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
62:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
63:  Operands of the '/' operator have different essential types: 'unsigned long' and 'int' MISRAC2012-RULE_10_4-a-2
63:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/tee_time_arm_cntpct.c
22:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
23:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
23:  Operands of the '/' operator have different essential types: 'unsigned int' and 'short' MISRAC2012-RULE_10_4-a-2
23:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
50:  The 'plat_prng_add_jitter_entropy' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
57:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
58:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
62:  Operands of the '&' operator have different essential types: 'unsigned short' and 'signed char' MISRAC2012-RULE_10_4-a-2
62:  Operands of the '|' operator have different essential types: 'unsigned short' and 'int' MISRAC2012-RULE_10_4-a-2
62:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
62:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
62:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
63:  'for' statement in a function 'plat_prng_add_jitter_entropy' should be followed by a block MISRAC2012-RULE_15_6-a-2
64:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
64:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
64:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
64:  The right hand operand of the shift operator '>>' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
65:  Operands of the '+=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
66:  Operands of the '>=' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
71:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
73:  The argument number '4' ('essentially signed' type) is passed to the function 'crypto_rng_add_event' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/thread.c
42:  A tag name 'thread_core_local' is reused MISRAC2012-RULE_5_7-a-2
42:  Declaration of object 'thread_core_local' does not precede its definition MISRAC2012-RULE_8_4-a-2
101:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
101:  Each instance of parameter: 'stack_num' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
103:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
103:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
103:  Each instance of parameter: 'stack_num' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
103:  Each instance of parameter: 'stack_num' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
122:  Each instance of parameter: 'num_stacks' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
123:  Each instance of parameter: 'stack_size' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
130:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
130:  Operands of the '+' operator have different essential types: 'short' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
130:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
130:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
132:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
132:  Operands of the '+' operator have different essential types: 'short' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
132:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
132:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
134:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
134:  Operands of the '+' operator have different essential types: 'short' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
134:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
134:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
139:  Each instance of parameter: 'n' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
141:  Each instance of parameter: 'n' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
141:  Each instance of parameter: 'stack' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
142:  Each instance of parameter: 'n' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
142:  Each instance of parameter: 'n' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
142:  Each instance of parameter: 'stack' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
146:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
146:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
146:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
146:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
147:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
154:  Declaration of object '____keep_pager_stack_tmp_export_core_arch_arm_kernel_thread_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
154:  Reserved name '____keep_pager_stack_tmp_export' used MISRAC2012-RULE_21_2-a-2
154:  Reserved name '____keep_pager_stack_tmp_export_core_arch_arm_kernel_thread_c' used MISRAC2012-RULE_21_2-a-2
154:  The '____keep_pager_stack_tmp_export' object has no definition MISRAC2012-RULE_8_6-a-2
154:  The identifier '____keep_pager_stack_tmp_export_core_arch_arm_kernel_thread_c' has the same first 31 characters of the name as the identifier '____keep_pager_stack_tmp_export' defined in the 'thread.c' file in line '154' MISRAC2012-RULE_5_1-a-2
155:  Declaration of object '____keep_pager_stack_tmp_stride_core_arch_arm_kernel_thread_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
155:  Reserved name '____keep_pager_stack_tmp_stride' used MISRAC2012-RULE_21_2-a-2
155:  Reserved name '____keep_pager_stack_tmp_stride_core_arch_arm_kernel_thread_c' used MISRAC2012-RULE_21_2-a-2
155:  The '____keep_pager_stack_tmp_stride' object has no definition MISRAC2012-RULE_8_6-a-2
155:  The identifier '____keep_pager_stack_tmp_stride_core_arch_arm_kernel_thread_c' has the same first 31 characters of the name as the identifier '____keep_pager_stack_tmp_stride' defined in the 'thread.c' file in line '155' MISRAC2012-RULE_5_1-a-2
165:  Declaration of object 'thread_user_kdata_sp_offset' does not precede its definition MISRAC2012-RULE_8_4-a-2
167:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
167:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
184:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
185:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
191:  Integer constant '0xabababab' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
191:  Integer constant '0xdededede' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
191:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
192:  Integer constant '0xabababab' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
192:  Integer constant '0xdededede' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
192:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
194:  Integer constant '0xabababab' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
194:  Integer constant '0xdededede' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
194:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
202:  Each instance of parameter: 'addr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
202:  Each instance of parameter: 'n' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
214:  Conditional statement 'if' in a function 'thread_check_canaries' should be followed by a block MISRAC2012-RULE_15_6-b-2
214:  Integer constant '0xdededede' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
216:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
217:  Conditional statement 'if' in a function 'thread_check_canaries' should be followed by a block MISRAC2012-RULE_15_6-b-2
217:  Integer constant '0xabababab' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
223:  Conditional statement 'if' in a function 'thread_check_canaries' should be followed by a block MISRAC2012-RULE_15_6-b-2
223:  Integer constant '0xdededede' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
225:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
226:  Conditional statement 'if' in a function 'thread_check_canaries' should be followed by a block MISRAC2012-RULE_15_6-b-2
226:  Integer constant '0xabababab' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
233:  Conditional statement 'if' in a function 'thread_check_canaries' should be followed by a block MISRAC2012-RULE_15_6-b-2
233:  Integer constant '0xdededede' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
235:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
236:  Conditional statement 'if' in a function 'thread_check_canaries' should be followed by a block MISRAC2012-RULE_15_6-b-2
236:  Integer constant '0xabababab' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
283:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
283:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
283:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
283:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
283:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
283:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
283:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
283:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
283:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
283:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
291:  Conditional statement 'if' in a function 'thread_set_exceptions' should be followed by a block MISRAC2012-RULE_15_6-b-2
291:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
291:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
291:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
291:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
291:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
294:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
294:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
294:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
294:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
294:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
295:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
295:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
295:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
295:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
295:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
295:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
295:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
295:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
295:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
295:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
307:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
307:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
307:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
307:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
307:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
307:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
 +  307:  The return value of the "thread_get_exceptions" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
307:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
307:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
313:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
313:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
313:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
313:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
313:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
313:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
313:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
313:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
325:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
325:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
325:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
325:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
325:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
325:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
327:  Operands of the '<' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
327:  Potential macro 'CFG_TEE_CORE_NB_CORE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
333:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
438:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
488:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
494:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
494:  Operands of the '|' operator have different essential types: 'int' and 'unsigned char' MISRAC2012-RULE_10_4-a-2
494:  Operands of the '|' operator have different essential types: 'int' and 'unsigned int' MISRAC2012-RULE_10_4-a-2
494:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
494:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
494:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
494:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
531:  Potential macro 'CFG_NUM_THREADS' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
537:  Reserved name '__thread_alloc_and_run' used MISRAC2012-RULE_21_2-a-2
546:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
550:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
560:  Conditional statement 'if' in a function '__thread_alloc_and_run' should be followed by a block MISRAC2012-RULE_15_6-b-2
563:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
570:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
570:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
570:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
570:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
579:  Implicit conversion from 'void (*)(uint32_t, uint32_t, uint32_t, uint32_t)' type to 'void *' type in function's argument MISRAC2012-RULE_11_1-a-2
631:  Conditional statement 'if' in a function 'is_from_user' should be followed by a block MISRAC2012-RULE_15_6-b-2
631:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
631:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
631:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
631:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
633:  Conditional statement 'if' in a function 'is_from_user' should be followed by a block MISRAC2012-RULE_15_6-b-2
633:  Operands of the '&' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
633:  Operands of the '==' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
633:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
678:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
682:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
689:  Conditional statement 'if' in a function 'thread_resume_from_rpc' should be followed by a block MISRAC2012-RULE_15_6-b-2
692:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
696:  Conditional statement 'if' in a function 'thread_resume_from_rpc' should be followed by a block MISRAC2012-RULE_15_6-b-2
696:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
696:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
696:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
696:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
700:  Conditional statement 'if' in a function 'thread_resume_from_rpc' should be followed by a block MISRAC2012-RULE_15_6-b-2
707:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
707:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
707:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
707:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
709:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
709:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
709:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
709:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
714:  Conditional statement 'if' in a function 'thread_resume_from_rpc' should be followed by a block MISRAC2012-RULE_15_6-b-2
717:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
717:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
717:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
717:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
731:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
731:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
731:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
733:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
742:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
752:  Conditional statement 'if' in a function 'thread_stack_start' should be followed by a block MISRAC2012-RULE_15_6-b-2
756:  Operands of the '-' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
766:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
766:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
766:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
767:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
772:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
772:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
772:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
772:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
773:  Conditional statement 'if' in a function 'get_stack_limits' should be followed by a block MISRAC2012-RULE_15_6-b-2
774:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
774:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
776:  An 'else' statement in a function 'get_stack_limits' shall be followed by a block MISRAC2012-RULE_15_6-b-2
776:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
776:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
776:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
777:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
777:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
779:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
779:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
779:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
779:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
780:  Conditional statement 'if' in a function 'get_stack_limits' should be followed by a block MISRAC2012-RULE_15_6-b-2
781:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
781:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
783:  An 'else' statement in a function 'get_stack_limits' shall be followed by a block MISRAC2012-RULE_15_6-b-2
783:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
783:  Operands of the '+' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
783:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
784:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
784:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
786:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
786:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
787:  Conditional statement 'if' in a function 'get_stack_limits' should be followed by a block MISRAC2012-RULE_15_6-b-2
791:  Operands of the '-' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
792:  Conditional statement 'if' in a function 'get_stack_limits' should be followed by a block MISRAC2012-RULE_15_6-b-2
793:  Operands of the '+=' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
805:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
805:  The expression of the 'essentially unsigned' type is returned from function 'thread_is_from_abort_mode' with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
805:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
805:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
818:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
818:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
818:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
827:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
827:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
827:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
827:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
827:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
839:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
843:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
843:  Operands of the '-' operator have different essential types: 'unsigned long' and 'short' MISRAC2012-RULE_10_4-a-2
891:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
893:  Conditional statement 'if' in a function 'thread_state_suspend' should be followed by a block MISRAC2012-RULE_15_6-b-2
917:  Conditional statement 'if' in a function 'thread_state_suspend' should be followed by a block MISRAC2012-RULE_15_6-b-2
917:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
917:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
917:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
917:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
967:  Identifiers given in declaration of 'thread_init_stack' function (file: 'thread.h', line: '296') are: 'stack_id' not: 'thread_id' MISRAC2012-RULE_8_3-b-2
969:  Conditional statement 'if' in a function 'thread_init_stack' should be followed by a block MISRAC2012-RULE_15_6-b-2
969:  Operands of the '>=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
980:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
980:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
980:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
993:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
993:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
993:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
994:  Potential macro 'CFG_NUM_THREADS' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1042:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1043:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1043:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1043:  The argument number '1' (8 byte essential type) is passed to the function 'thread_init_stack' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1052:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1053:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1055:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1056:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1056:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1060:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
1069:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
1084:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1095:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1097:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1097:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1100:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1100:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1121:  Operands of the '-' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
1127:  Operands of the '-' operator have different essential types: 'unsigned char' and 'signed char' MISRAC2012-RULE_10_4-a-2
1135:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1135:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
1142:  Integer constant '0x80000001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1142:  Integer constant '0x80008000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1142:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
1158:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1170:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1172:  Operands of the '!=' operator have different essential types: 'unsigned int' and 'signed char' MISRAC2012-RULE_10_4-a-2
1173:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1175:  Unreachable code detected after 'switch' statement MISRAC2012-RULE_2_1-f-2
1185:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1191:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1195:  Pointer to function 'void (*)(void)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1205:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1205:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1205:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1206:  Operands of the '*' operator have different essential types: 'signed char' and 'unsigned long' MISRAC2012-RULE_10_4-a-2
1206:  Operands of the '/' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1229:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1236:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1236:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1236:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1241:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1244:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1244:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1245:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1246:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1246:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1246:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1246:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1246:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1252:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1252:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1253:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1253:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1260:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1260:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1260:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1265:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1267:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1267:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1267:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1267:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1268:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1268:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1268:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1268:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1268:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1274:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1274:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1274:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1293:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
1293:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1314:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1314:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1314:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1314:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1314:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1314:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1315:  Operands of the '&=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1315:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1315:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1315:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1315:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1316:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1316:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1316:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1316:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1324:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1324:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1324:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1324:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1324:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1324:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1335:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1335:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1335:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1335:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1335:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1335:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1350:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1350:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1350:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1350:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1350:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1350:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1357:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
1357:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1379:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1379:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1379:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1379:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1379:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1379:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1383:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1424:  Operands of the '&' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1424:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1424:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1425:  Operands of the '|=' operator have different essential types: 'unsigned int' and 'int' MISRAC2012-RULE_10_4-a-2
1425:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1425:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1426:  Operands of the '&' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1426:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1426:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1428:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1428:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1485:  Integer constant '0xbadbadba' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1489:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1489:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1489:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1489:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1489:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1489:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1489:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1504:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
1504:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1516:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
1516:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1536:  Pointer to function 'void (*)(uint32_t, uint32_t, uint32_t)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1537:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1537:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1537:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1537:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1570:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1570:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1570:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
 +  1570:  The return value of the "thread_get_exceptions" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
1570:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1584:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1584:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1610:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1636:  'for' statement in a function 'get_shm_cache_entry' should be followed by a block MISRAC2012-RULE_15_6-a-2
1636:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1640:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
1640:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
1641:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1651:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
1651:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1658:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1662:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1669:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1669:  Operands of the '-' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
1675:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1678:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1681:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
1685:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1692:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1708:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1712:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
1712:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
1726:  Declaration of object '____keep_pager_thread_cpu_off_handler_core_arch_arm_kernel_thread_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
1726:  Pointer to function 'unsigned long (*)(unsigned long, unsigned long)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1726:  Reserved name '____keep_pager_thread_cpu_off_handler' used MISRAC2012-RULE_21_2-a-2
1726:  Reserved name '____keep_pager_thread_cpu_off_handler_core_arch_arm_kernel_thread_c' used MISRAC2012-RULE_21_2-a-2
1726:  The '____keep_pager_thread_cpu_off_handler' object has no definition MISRAC2012-RULE_8_6-a-2
1726:  The identifier '____keep_pager_thread_cpu_off_handler_core_arch_arm_kernel_thread_c' has the same first 31 characters of the name as the identifier '____keep_pager_thread_cpu_off_handler' defined in the 'thread.c' file in line '1726' MISRAC2012-RULE_5_1-a-2
1733:  Declaration of object '____keep_pager_thread_cpu_suspend_handler_core_arch_arm_kernel_thread_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
1733:  Pointer to function 'unsigned long (*)(unsigned long, unsigned long)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1733:  Reserved name '____keep_pager_thread_cpu_suspend_handler' used MISRAC2012-RULE_21_2-a-2
1733:  Reserved name '____keep_pager_thread_cpu_suspend_handler_core_arch_arm_kernel_thread_c' used MISRAC2012-RULE_21_2-a-2
1733:  The '____keep_pager_thread_cpu_suspend_handler' object has no definition MISRAC2012-RULE_8_6-a-2
1733:  The identifier '____keep_pager_thread_cpu_suspend_handler_core_arch_arm_kernel_thread_c' has the same first 31 characters of the name as the identifier '____keep_pager_thread_cpu_suspend_handler' defined in the 'thread.c' file in line '1733' MISRAC2012-RULE_5_1-a-2
1740:  Declaration of object '____keep_pager_thread_cpu_resume_handler_core_arch_arm_kernel_thread_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
1740:  Pointer to function 'unsigned long (*)(unsigned long, unsigned long)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1740:  Reserved name '____keep_pager_thread_cpu_resume_handler' used MISRAC2012-RULE_21_2-a-2
1740:  Reserved name '____keep_pager_thread_cpu_resume_handler_core_arch_arm_kernel_thread_c' used MISRAC2012-RULE_21_2-a-2
1740:  The '____keep_pager_thread_cpu_resume_handler' object has no definition MISRAC2012-RULE_8_6-a-2
1740:  The identifier '____keep_pager_thread_cpu_resume_handler_core_arch_arm_kernel_thread_c' has the same first 31 characters of the name as the identifier '____keep_pager_thread_cpu_resume_handler' defined in the 'thread.c' file in line '1740' MISRAC2012-RULE_5_1-a-2
1747:  Declaration of object '____keep_pager_thread_system_off_handler_core_arch_arm_kernel_thread_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
1747:  Pointer to function 'unsigned long (*)(unsigned long, unsigned long)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1747:  Reserved name '____keep_pager_thread_system_off_handler' used MISRAC2012-RULE_21_2-a-2
1747:  Reserved name '____keep_pager_thread_system_off_handler_core_arch_arm_kernel_thread_c' used MISRAC2012-RULE_21_2-a-2
1747:  The '____keep_pager_thread_system_off_handler' object has no definition MISRAC2012-RULE_8_6-a-2
1747:  The identifier '____keep_pager_thread_system_off_handler_core_arch_arm_kernel_thread_c' has the same first 31 characters of the name as the identifier '____keep_pager_thread_system_off_handler' defined in the 'thread.c' file in line '1747' MISRAC2012-RULE_5_1-a-2
1754:  Declaration of object '____keep_pager_thread_system_reset_handler_core_arch_arm_kernel_thread_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
1754:  Pointer to function 'unsigned long (*)(unsigned long, unsigned long)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
1754:  Reserved name '____keep_pager_thread_system_reset_handler' used MISRAC2012-RULE_21_2-a-2
1754:  Reserved name '____keep_pager_thread_system_reset_handler_core_arch_arm_kernel_thread_c' used MISRAC2012-RULE_21_2-a-2
1754:  The '____keep_pager_thread_system_reset_handler' object has no definition MISRAC2012-RULE_8_6-a-2
1754:  The identifier '____keep_pager_thread_system_reset_handler_core_arch_arm_kernel_thread_c' has the same first 31 characters of the name as the identifier '____keep_pager_thread_system_reset_handler' defined in the 'thread.c' file in line '1754' MISRAC2012-RULE_5_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/thread_optee_smc.c
49:  Potential macro 'THREAD_EXCP_ALL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
49:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
49:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
49:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
49:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
49:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
49:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
70:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
70:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
70:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
70:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
70:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
70:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
70:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
70:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
70:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
92:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
93:  The array of type 'uint32_t [4]' shall not be partially initialized MISRAC2012-RULE_9_3-a-2
94:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
94:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
108:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
123:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
123:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
127:  Potential macro 'SMALL_PAGE_MASK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
127:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
130:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
134:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
166:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
166:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
169:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
169:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
169:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
169:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
169:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
169:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
169:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
169:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
169:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
177:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_pbuf_is' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
181:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
186:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
186:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
193:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
206:  Reserved name '__thread_std_smc_entry' used MISRAC2012-RULE_21_2-a-2
206:  The '__thread_std_smc_entry' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
223:  '0' is assigned to expression of pointer type MISRAC2012-RULE_11_9-a-2
223:  '0' is assigned to expression of pointer type MISRAC2012-RULE_11_9-b-2
235:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
235:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
235:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
248:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
268:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
268:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
268:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
290:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_pbuf_is' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
294:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
311:  The array of type 'uint32_t [4]' shall not be partially initialized MISRAC2012-RULE_9_3-a-2
312:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
312:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
312:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
314:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
314:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
323:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
327:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
340:  The left hand operand of the '-' operator has essentially enum type: thread_param_attr MISRAC2012-RULE_10_1-d-2
340:  The right hand operand of the '-' operator has essentially enum type: thread_param_attr MISRAC2012-RULE_10_1-d-2
340:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
344:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
346:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
360:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
360:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
362:  The left hand operand of the '-' operator has essentially enum type: thread_param_attr MISRAC2012-RULE_10_1-d-2
362:  The right hand operand of the '-' operator has essentially enum type: thread_param_attr MISRAC2012-RULE_10_1-d-2
362:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
364:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
366:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
368:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
388:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
390:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
391:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
391:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
393:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
394:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
397:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
399:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
406:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
408:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
409:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
419:  The left hand operand of the '-' operator has essentially enum type: thread_param_attr MISRAC2012-RULE_10_1-d-2
419:  The right hand operand of the '-' operator has essentially enum type: thread_param_attr MISRAC2012-RULE_10_1-d-2
419:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
429:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
433:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
437:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
439:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
443:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
473:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
473:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
483:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
483:  The array of type 'uint32_t [4]' shall not be partially initialized MISRAC2012-RULE_9_3-a-2
483:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
493:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
511:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
511:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
513:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
513:  The array of type 'uint32_t [4]' shall not be partially initialized MISRAC2012-RULE_9_3-a-2
513:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
522:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
531:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
531:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
536:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
540:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
553:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
574:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
574:  The array of type 'uint32_t [4]' shall not be partially initialized MISRAC2012-RULE_9_3-a-2
574:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
581:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
608:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
608:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
613:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
613:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
624:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
624:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/thread_private.h
47:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
67:  A tag name 'vfp_state' is reused MISRAC2012-RULE_5_7-a-2
115:  The 'thread_init_vbar' function has no definition MISRAC2012-RULE_8_6-a-2
117:  The 'thread_excp_vect' function has no definition MISRAC2012-RULE_8_6-a-2
118:  The 'thread_excp_vect_workaround' function has no definition MISRAC2012-RULE_8_6-a-2
119:  The 'thread_excp_vect_workaround_a15' function has no definition MISRAC2012-RULE_8_6-a-2
120:  The 'thread_excp_vect_end' function has no definition MISRAC2012-RULE_8_6-a-2
128:  The 'thread_std_smc_entry' function has no definition MISRAC2012-RULE_8_6-a-2
129:  Reserved name '__thread_std_smc_entry' used MISRAC2012-RULE_21_2-a-2
132:  The 'thread_sp_alloc_and_run' function has no definition MISRAC2012-RULE_8_6-a-2
142:  The 'thread_resume' function has no definition MISRAC2012-RULE_8_6-a-2
144:  Reserved name '__thread_enter_user_mode' used MISRAC2012-RULE_21_2-a-2
144:  The '__thread_enter_user_mode' function has no definition MISRAC2012-RULE_8_6-a-2
225:  The 'thread_rpc' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/timer_a64.c
15:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
15:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
15:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
15:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
15:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
15:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
15:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
39:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
39:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
39:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
39:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
39:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
39:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
39:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
57:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/trace_ext.c
12:  The 'trace_ext_prefix' object is also defined in other translation units MISRAC2012-RULE_8_6-a-2
13:  The 'trace_level' object is also defined in other translation units MISRAC2012-RULE_8_6-a-2
20:  The 'trace_ext_puts' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
22:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
22:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
22:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
22:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
22:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
22:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
22:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
37:  The argument number '1' ('essentially character' type) is passed to the function 'console_putc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
39:  'for' statement in a function 'trace_ext_puts' should be followed by a block MISRAC2012-RULE_15_6-a-2
39:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
40:  The argument number '1' ('essentially character' type) is passed to the function 'console_putc' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
50:  The 'trace_ext_get_thread_id' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/unwind_arm64.c
55:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
62:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
64:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
73:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
73:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
89:  Unused function's "get_stack_hard_limits" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/unwind_private.h
1:  Multiple include guard should appear as first #ifndef or #if preprocessor directive MISRAC2012-DIR_4_10-a-2
18:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
18:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
20:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/vfp.c
40:  Potential macro 'FPEXC_EN' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
70:  The expression of the 'essentially unsigned' type is returned from function 'vfp_is_enabled' with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
70:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
70:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
77:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
77:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
86:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
86:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
86:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
99:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
99:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/vfp_private.h
11:  The 'vfp_save_extension_regs' function has no definition MISRAC2012-RULE_8_6-a-2
12:  The 'vfp_restore_extension_regs' function has no definition MISRAC2012-RULE_8_6-a-2
13:  The 'vfp_clear_extension_regs' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/core_mmu.c
66:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
66:  Each instance of parameter: 's' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
86:  Potential macro 'TEE_SDP_TEST_MEM_BASE' used as '1' parameter of potential macro 'register_sdp_mem' MISRAC2012-RULE_20_12-a-2
91:  Declaration of object '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
91:  Potential macro 'TEE_RAM_START' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
91:  Reserved name '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
91:  Reserved name '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
91:  Reserved name '__scattered_array_0phys_mem_map' used MISRAC2012-RULE_21_2-a-2
91:  Reserved name '__scattered_array_0phys_mem_map' used MISRAC2012-RULE_21_2-a-2
91:  The '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' object has no definition MISRAC2012-RULE_8_6-a-2
91:  The identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
93:  Declaration of object '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
93:  Potential macro 'VCORE_UNPG_RX_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
93:  Reserved name '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
93:  Reserved name '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
93:  Reserved name '__scattered_array_1phys_mem_map' used MISRAC2012-RULE_21_2-a-2
93:  Reserved name '__scattered_array_1phys_mem_map' used MISRAC2012-RULE_21_2-a-2
93:  The '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' object has no definition MISRAC2012-RULE_8_6-a-2
93:  The identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
93:  The identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
93:  The identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
93:  The identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
93:  The identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
95:  Declaration of object '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
95:  Potential macro 'VCORE_UNPG_RO_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
95:  Reserved name '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
95:  Reserved name '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
95:  Reserved name '__scattered_array_2phys_mem_map' used MISRAC2012-RULE_21_2-a-2
95:  Reserved name '__scattered_array_2phys_mem_map' used MISRAC2012-RULE_21_2-a-2
95:  The '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' object has no definition MISRAC2012-RULE_8_6-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
95:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
99:  Potential macro 'VCORE_UNPG_RW_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
101:  Potential macro 'VCORE_NEX_RW_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
104:  Declaration of object '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
104:  Potential macro 'VCORE_UNPG_RW_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
104:  Reserved name '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
104:  Reserved name '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
104:  Reserved name '__scattered_array_3phys_mem_map' used MISRAC2012-RULE_21_2-a-2
104:  Reserved name '__scattered_array_3phys_mem_map' used MISRAC2012-RULE_21_2-a-2
104:  The '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' object has no definition MISRAC2012-RULE_8_6-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
104:  The identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
109:  Potential macro 'VCORE_INIT_RX_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
111:  Potential macro 'VCORE_INIT_RO_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
115:  Potential macro 'TEE_RAM_START' used as '2' parameter of potential macro 'register_phys_mem' MISRAC2012-RULE_20_12-a-2
119:  Potential macro 'TZDRAM_BASE' used as '2' parameter of potential macro 'register_phys_mem' MISRAC2012-RULE_20_12-a-2
124:  Potential macro 'ASAN_MAP_PA' used as '2' parameter of potential macro 'register_phys_mem_ul' MISRAC2012-RULE_20_12-a-2
129:  Declaration of object '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
129:  Potential macro 'TA_RAM_START' used as '2' parameter of potential macro 'register_phys_mem' MISRAC2012-RULE_20_12-a-2
129:  Reserved name '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
129:  Reserved name '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
129:  Reserved name '__scattered_array_4phys_mem_map' used MISRAC2012-RULE_21_2-a-2
129:  Reserved name '__scattered_array_4phys_mem_map' used MISRAC2012-RULE_21_2-a-2
129:  The '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' object has no definition MISRAC2012-RULE_8_6-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '129' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
129:  The identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
129:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
129:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
129:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
132:  Declaration of object '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
132:  Potential macro 'TEE_SHMEM_START' used as '2' parameter of potential macro 'register_phys_mem' MISRAC2012-RULE_20_12-a-2
132:  Reserved name '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
132:  Reserved name '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' used MISRAC2012-RULE_21_2-a-2
132:  Reserved name '__scattered_array_5phys_mem_map' used MISRAC2012-RULE_21_2-a-2
132:  Reserved name '__scattered_array_5phys_mem_map' used MISRAC2012-RULE_21_2-a-2
132:  The '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' object has no definition MISRAC2012-RULE_8_6-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '129' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '129' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_map_core_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '132' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '91' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '93' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '95' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_3phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '104' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_4phys_mem_map_core_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '129' MISRAC2012-RULE_5_1-a-2
132:  The identifier '____keep_init___scattered_array_5phys_mem_mapcore_arch_arm_mm_core_mmu_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_4phys_mem_mapcore_arch_arm_mm_core_mmu_c' defined in the 'core_mmu.c' file in line '129' MISRAC2012-RULE_5_1-a-2
144:  The left hand operand of the '>>' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
171:  Reserved name '_pbuf_intersects' used MISRAC2012-RULE_21_2-a-2
176:  'for' statement in a function '_pbuf_intersects' should be followed by a block MISRAC2012-RULE_15_6-a-2
184:  Reserved name '_pbuf_is_inside' used MISRAC2012-RULE_21_2-a-2
189:  'for' statement in a function '_pbuf_is_inside' should be followed by a block MISRAC2012-RULE_15_6-a-2
199:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
206:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
222:  'for' statement in a function 'find_map_by_type' should be followed by a block MISRAC2012-RULE_15_6-a-2
245:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
306:  Unused function's "memmove" return value MISRAC2012-RULE_17_7-a-2
307:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
307:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
308:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
318:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
318:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
319:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
322:  Unused function's "memmove" return value MISRAC2012-RULE_17_7-a-2
356:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
356:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
 +  364:  Value of "map" is never used MISRAC2012-RULE_2_2-b-2
 +  365:  Value of "pmem" is never used MISRAC2012-RULE_2_2-b-2
367:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
368:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
368:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
370:  Usage of 'qsort' function is not allowed MISRAC2012-RULE_21_9-a-2
390:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
390:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
390:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
394:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
397:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
403:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
403:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
419:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
458:  Each instance of parameter: 'pa1' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
458:  Each instance of parameter: 'pa1' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
458:  Each instance of parameter: 'pa2' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
458:  Each instance of parameter: 'pa2' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
458:  Each instance of parameter: 'sz1' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
458:  Each instance of parameter: 'sz2' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
515:  'for' statement in a function 'verify_special_mem_areas' should be followed by a block MISRAC2012-RULE_15_6-a-2
536:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
536:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
579:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
579:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
580:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
580:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
 +  590:  The number of bytes to process by the "memmove" function is not positive and equals 0 MISRAC2012-RULE_21_18-a-1
590:  Unused function's "memmove" return value MISRAC2012-RULE_17_7-a-2
593:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
594:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
 +  617:  The number of bytes to process by the "memmove" function is not positive and equals 0 MISRAC2012-RULE_21_18-a-1
617:  Unused function's "memmove" return value MISRAC2012-RULE_17_7-a-2
620:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
621:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
625:  Function 'core_mmu_type_to_attr' should have return at the end of each execution path MISRAC2012-RULE_17_4-a-1
628:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
628:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
629:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
629:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
665:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
665:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
673:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
687:  The argument number '1' ('essentially unsigned' type) is passed to the function 'core_mmu_type_to_attr' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
687:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
700:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
700:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
710:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
 +  710:  Value of "vstart" is never used MISRAC2012-RULE_2_2-b-2
797:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
 +  803:  Integer overflow: value of (pos - 1) will be 18,446,744,073,709,551,615 instead of -1 (result type: 64 bits, unsigned, min: 0, max: 18,446,744,073,709,551,615) MISRAC2012-DIR_4_1-k-2
805:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
809:  Unused function's "memmove" return value MISRAC2012-RULE_17_7-a-2
812:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
813:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
837:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
837:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
837:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
 +  837:  Two unrelated pointers "mem" and "__scattered_array_end" are compared MISRAC2012-DIR_4_1-j-2
 +  837:  Two unrelated pointers "mem" and "__scattered_array_end" are compared MISRAC2012-RULE_18_3-a-2
841:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
845:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
845:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
850:  Unreachable code inside 'if' block MISRAC2012-RULE_2_1-c-2
 +  851:  The return value of the "scattered_array_relax_ptr" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
852:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
853:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
856:  The argument number '4' ('essentially signed' type) is passed to the function 'add_va_space' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
859:  The argument number '4' ('essentially signed' type) is passed to the function 'add_va_space' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
861:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
877:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
879:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
892:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
892:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
892:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
892:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
892:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
893:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
893:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
893:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
893:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
893:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
907:  'for' statement in a function 'assign_mem_va' should be followed by a block MISRAC2012-RULE_15_6-a-2
920:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
920:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
921:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
921:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
937:  The argument number '1' ('essentially unsigned' type) is passed to the function 'core_mmu_type_to_attr' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
938:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
968:  The argument number '1' ('essentially unsigned' type) is passed to the function 'core_mmu_type_to_attr' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
969:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
975:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
975:  Reserved name '__roundup_tmp' used MISRAC2012-RULE_21_2-a-2
975:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
975:  Unused function's "__builtin_add_overflow" return value MISRAC2012-RULE_17_7-b-2
980:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
980:  Reserved name '__roundup_tmp' used MISRAC2012-RULE_21_2-a-2
980:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
980:  Unused function's "__builtin_add_overflow" return value MISRAC2012-RULE_17_7-b-2
1012:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
1012:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
1013:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1014:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
1014:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
1020:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1021:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
1021:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
1021:  The left hand operand of the '<' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
1021:  The left hand operand of the '>' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
1021:  The right hand operand of the '<' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
1021:  The right hand operand of the '>' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
1040:  'for' statement in a function 'mem_map_add_id_map' should be followed by a block MISRAC2012-RULE_15_6-a-2
1045:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1083:  Usage of 'qsort' function is not allowed MISRAC2012-RULE_21_9-a-2
1087:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1096:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1100:  Function 'mem_map_add_id_map' called in the right-hand operand of a logical '&&' operator may cause side effect MISRAC2012-RULE_13_5-a-2
1117:  Usage of 'qsort' function is not allowed MISRAC2012-RULE_21_9-a-2
1131:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1140:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1144:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1148:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1160:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
1160:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
1176:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1193:  The 'core_init_mmu_map' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
1212:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1220:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
1220:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
1220:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
1220:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
1220:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
1228:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
1238:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1253:  Identifiers given in declaration of 'core_pbuf_is' function (file: 'core_memprot.h', line: '61') are: 'flags' not: 'attr' MISRAC2012-RULE_8_3-b-2
1262:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1264:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1266:  Function 'pbuf_is_nsec_ddr' called in the right-hand operand of a logical '||' operator may cause side effect MISRAC2012-RULE_13_5-a-2
1267:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1270:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1272:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1272:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1272:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
1274:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1278:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1280:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1292:  Identifiers given in declaration of 'core_vbuf_is' function (file: 'core_memprot.h', line: '67') are: 'flags' not: 'attr' MISRAC2012-RULE_8_3-b-2
1300:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
1301:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1313:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1321:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1322:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1334:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1342:  The argument number '1' ('essentially unsigned' type) is passed to the function 'find_map_by_type' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
1344:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1357:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1359:  The expression of the 'essentially unsigned' type is returned from function 'core_mmu_get_type_by_pa' with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
1364:  Potential macro 'CORE_MMU_PGDIR_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1364:  Potential macro 'SMALL_PAGE_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1365:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1365:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1368:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1379:  Potential macro 'CORE_MMU_PGDIR_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1379:  Potential macro 'SMALL_PAGE_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1380:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1380:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1383:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1420:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1487:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1488:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1489:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1508:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1509:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1510:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1519:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1524:  A tag name 'pgt' is reused MISRAC2012-RULE_5_7-a-2
1524:  Identifier 'pgt' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1536:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1563:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1573:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
1573:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
1577:  The value of a composite expression (8 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
1580:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
1580:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
1599:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1624:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
1629:  Potential macro 'SMALL_PAGE_MASK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1629:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1635:  Potential macro 'CORE_MMU_PGDIR_LEVEL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1637:  The argument number '3' ('essentially signed' type) is passed to the function 'core_mmu_find_table' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1644:  The argument number '3' ('essentially signed' type) is passed to the function 'can_map_at_level' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1645:  The argument number '4' ('essentially signed' type) is passed to the function 'can_map_at_level' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1645:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1651:  The argument number '3' ('essentially unsigned' type) is passed to the function 'core_mmu_entry_to_finer_grained' as a parameter with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
1659:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1663:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1664:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1665:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
1665:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1685:  Potential macro 'TEE_MATTR_PX' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1685:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1687:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
1689:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1690:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1694:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1695:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1702:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1703:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1723:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1743:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1763:  Potential macro 'TEE_MATTR_PX' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1763:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1765:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
1767:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1768:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1772:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1773:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1796:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1826:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1827:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1833:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
1852:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
1852:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1853:  A tag name 'pgt' is reused MISRAC2012-RULE_5_7-a-2
1853:  Identifier 'pgt' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1859:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1861:  Pointer to object type 'struct vm_region **' is cast to pointer to different object type 'struct vm_region_head *' MISRAC2012-RULE_11_3-a-2
1872:  'for' statement in a function 'core_mmu_populate_user_map' should be followed by a block MISRAC2012-RULE_15_6-a-2
1872:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
 +  1884:  Value of "i" is never used MISRAC2012-RULE_2_2-b-2
 +  1885:  Value of "p" is never used MISRAC2012-RULE_2_2-b-2
 +  1886:  Value of "l" is never used MISRAC2012-RULE_2_2-b-2
1889:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1890:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1893:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1894:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1896:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1897:  The value of a composite expression (8 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
 +  1897:  Value of "granule" is never used MISRAC2012-RULE_2_2-b-2
1901:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1908:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1920:  Unused function's "memmove" return value MISRAC2012-RULE_17_7-a-2
1924:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1939:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1947:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1952:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1958:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1958:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
1976:  'while' statement in a function 'core_mmu_add_mapping' should be followed by a block MISRAC2012-RULE_15_6-a-2
1983:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1994:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1995:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2013:  'for' statement in a function 'asid_alloc' should be followed by a block MISRAC2012-RULE_15_6-a-2
2013:  Left-hand operand of right-shift operator is an expression of ' int' type MISRAC2012-RULE_1_3-o-2
2013:  Reserved name '_byte' used MISRAC2012-RULE_21_2-a-2
2013:  Reserved name '_lb' used MISRAC2012-RULE_21_2-a-2
2013:  Reserved name '_name' used MISRAC2012-RULE_21_2-a-2
2013:  Reserved name '_nbits' used MISRAC2012-RULE_21_2-a-2
2013:  Reserved name '_stopbyte' used MISRAC2012-RULE_21_2-a-2
2013:  Reserved name '_value' used MISRAC2012-RULE_21_2-a-2
2013:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2013:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2013:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2013:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2013:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
2017:  Left-hand operand of right-shift operator is a variable 'i' of 'signed int' type MISRAC2012-RULE_1_3-o-2
2017:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2017:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2017:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2017:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2017:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2017:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
2018:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2030:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2030:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2032:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2033:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
2035:  Left-hand operand of right-shift operator is a variable 'i' of 'signed int' type MISRAC2012-RULE_1_3-o-2
2035:  Potential macro 'MMU_NUM_ASID_PAIRS' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
2035:  Potential macro 'bit_test' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
2035:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2035:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2035:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2035:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2035:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2035:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2035:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
2036:  Left-hand operand of right-shift operator is a variable 'i' of 'signed int' type MISRAC2012-RULE_1_3-o-2
2036:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2036:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2036:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2036:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2036:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2036:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2036:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
2044:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2044:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2044:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2044:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2044:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2044:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2044:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2062:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2067:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2070:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2070:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
2070:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
2089:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2090:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
 +  2092:  Value of "ti" is never used MISRAC2012-RULE_2_2-b-2
2102:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2109:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
2113:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2149:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2151:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2157:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2185:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2221:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2223:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2225:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2227:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2253:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
2253:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
2267:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2269:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2286:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2286:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2292:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2320:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2322:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2323:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2324:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2332:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2334:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2335:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2336:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2344:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2346:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2347:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2348:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2361:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_mmu_get_mem_by_type' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2363:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2367:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
2367:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_vbuf_is' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2377:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
2382:  Reserved name '__scattered_array_6initcall' used MISRAC2012-RULE_21_2-a-2
2397:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_mmu_get_mem_by_type' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2401:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
2402:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
2404:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2404:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2405:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2409:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_pbuf_is' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2417:  Unused function's "tee_mm_init" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/core_mmu_lpae.c
102:  Lowercase 'l' is used to indicate long: 1ull MISRAC2012-RULE_7_3-a-2
103:  Lowercase 'l' is used to indicate long: 1ull MISRAC2012-RULE_7_3-a-2
104:  Lowercase 'l' is used to indicate long: 1ull MISRAC2012-RULE_7_3-a-2
107:  Lowercase 'l' is used to indicate long: 1ull MISRAC2012-RULE_7_3-a-2
108:  Lowercase 'l' is used to indicate long: 1ull MISRAC2012-RULE_7_3-a-2
128:  Each instance of parameter: 'attr' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
197:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
252:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
252:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
256:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
259:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
265:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
265:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
268:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
268:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
268:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
268:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
268:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
268:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
271:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
271:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
271:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
271:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
271:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
271:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
274:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
274:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
277:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
277:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
280:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
280:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
280:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
280:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
280:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
281:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
281:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
281:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
281:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
281:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
284:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
284:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
284:  The left hand operand of the '<<' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
284:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
284:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
287:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
287:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
290:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
290:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
290:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
290:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
290:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
290:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
301:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
304:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
307:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
309:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
311:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
313:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
321:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
322:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
323:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
324:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
326:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
327:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
327:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
327:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
327:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
327:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
329:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
330:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
330:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
330:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
330:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
330:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
333:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
335:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
335:  The left hand operand of the '<<' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
335:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
335:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
335:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
335:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
335:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
338:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
338:  The left hand operand of the '<<' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
338:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
338:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
338:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
338:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
338:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
340:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
340:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
348:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
349:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
351:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
352:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
354:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
354:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
354:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
354:  The left hand operand of the '<<' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
354:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
354:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
354:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
372:  Potential macro 'SMALL_PAGE_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
391:  Potential macro 'SMALL_PAGE_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
413:  Potential macro 'THREAD_EXCP_FOREIGN_INTR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
434:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
434:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
440:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
440:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
440:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
440:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
445:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
447:  'for' statement in a function 'core_init_mmu_prtn' should be followed by a block MISRAC2012-RULE_15_6-a-2
459:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
461:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
471:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
471:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
471:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
471:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
474:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
474:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
474:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
474:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
485:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
485:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
487:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
487:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
488:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
488:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
492:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
493:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
499:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
499:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
499:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
499:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
499:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
500:  Potential macro 'BIT64' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
500:  Potential macro 'CFG_LPAE_ADDR_SPACE_BITS' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
505:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
505:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
549:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
549:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
549:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
551:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
554:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
557:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
560:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
563:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
567:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
567:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
567:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
581:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
582:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
586:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
586:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
587:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
587:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
588:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
588:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
590:  The right hand operand of the '|=' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
615:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
615:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
632:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
632:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
632:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
632:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
632:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
635:  The argument number '3' ('essentially signed' type) is passed to the function 'memset' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
635:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
637:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
645:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
645:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
645:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
645:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
645:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
645:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
645:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
653:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
661:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
667:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
680:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
680:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
680:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
680:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
696:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
696:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
696:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
706:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
711:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
711:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
726:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
726:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
735:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
742:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
753:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
755:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
756:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
757:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
761:  The argument number '3' ('essentially signed' type) is passed to the function 'memset' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
761:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
761:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
761:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
764:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
773:  The argument number '1' (8 byte essential type) is passed to the function 'mattr_to_desc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
783:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
784:  Lowercase 'l' is used to indicate long: 1ull MISRAC2012-RULE_7_3-a-2
784:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
784:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
784:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
786:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
787:  The argument number '1' (8 byte essential type) is passed to the function 'desc_to_mattr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
799:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
801:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
802:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
802:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
808:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
808:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
808:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
808:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
808:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
808:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
808:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
811:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
911:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
912:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
912:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
922:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
922:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
922:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
922:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
922:  The left hand operand of the '>>' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
922:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
922:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
932:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
932:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
959:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
967:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
983:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/mobj.c
34:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
41:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
41:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
43:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
43:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
47:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
53:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
53:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
59:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
60:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
64:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
67:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
74:  Declaration of object '____keep_pager_mobj_phys_get_pa_core_arch_arm_mm_mobj_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
74:  Pointer to function 'TEE_Result (*)(struct mobj *, size_t, size_t, paddr_t *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
74:  Reserved name '____keep_pager_mobj_phys_get_pa' used MISRAC2012-RULE_21_2-a-2
74:  Reserved name '____keep_pager_mobj_phys_get_pa_core_arch_arm_mm_mobj_c' used MISRAC2012-RULE_21_2-a-2
74:  The '____keep_pager_mobj_phys_get_pa' object has no definition MISRAC2012-RULE_8_6-a-2
74:  The identifier '____keep_pager_mobj_phys_get_pa_core_arch_arm_mm_mobj_c' has the same first 31 characters of the name as the identifier '____keep_pager_mobj_phys_get_pa' defined in the 'mobj.c' file in line '74' MISRAC2012-RULE_5_1-a-2
76:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
76:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
80:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
81:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
87:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
87:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
110:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
110:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
114:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
114:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
126:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
126:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
129:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
139:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
139:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
165:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
168:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
168:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
169:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
178:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
187:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
187:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
189:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
189:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
193:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
200:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
200:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
214:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
217:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
217:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
219:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
219:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
223:  Essential type of RHS operand (64 bit) is wider than essential type of composite expression in LHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
226:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
226:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
233:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
233:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
239:  Declaration of object '____keep_pager_mobj_mm_get_pa_core_arch_arm_mm_mobj_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
239:  Pointer to function 'TEE_Result (*)(struct mobj *, size_t, size_t, paddr_t *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
239:  Reserved name '____keep_pager_mobj_mm_get_pa' used MISRAC2012-RULE_21_2-a-2
239:  Reserved name '____keep_pager_mobj_mm_get_pa_core_arch_arm_mm_mobj_c' used MISRAC2012-RULE_21_2-a-2
239:  The '____keep_pager_mobj_mm_get_pa' object has no definition MISRAC2012-RULE_8_6-a-2
241:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
241:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
246:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
246:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
251:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
251:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
256:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
256:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
261:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
261:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
273:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
273:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
276:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
282:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
282:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
284:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
288:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
289:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
289:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
311:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
316:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
316:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
318:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
318:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
328:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
328:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
334:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
335:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
339:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
342:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
349:  Declaration of object '____keep_pager_mobj_shm_get_pa_core_arch_arm_mm_mobj_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
349:  Pointer to function 'TEE_Result (*)(struct mobj *, size_t, size_t, paddr_t *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
349:  Reserved name '____keep_pager_mobj_shm_get_pa' used MISRAC2012-RULE_21_2-a-2
349:  Reserved name '____keep_pager_mobj_shm_get_pa_core_arch_arm_mm_mobj_c' used MISRAC2012-RULE_21_2-a-2
349:  The '____keep_pager_mobj_shm_get_pa' object has no definition MISRAC2012-RULE_8_6-a-2
351:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
351:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
353:  Potential macro 'IS_POWER_OF_TWO' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
357:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
357:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
362:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
362:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
366:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
366:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
369:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
369:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
383:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
383:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
386:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
393:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_pbuf_is' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
396:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
396:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
397:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
519:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
521:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
526:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
526:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
530:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
533:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
533:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
534:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
539:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
547:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
547:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
549:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
551:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
554:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
554:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
557:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
568:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
568:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
574:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
574:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
577:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
577:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
582:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
582:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
585:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
586:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
594:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
594:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
600:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
602:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
608:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
611:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
619:  Declaration of object '____keep_pager_mobj_with_fobj_get_pa_core_arch_arm_mm_mobj_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
619:  Pointer to function 'TEE_Result (*)(struct mobj *, size_t, size_t, paddr_t *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
619:  Reserved name '____keep_pager_mobj_with_fobj_get_pa' used MISRAC2012-RULE_21_2-a-2
619:  Reserved name '____keep_pager_mobj_with_fobj_get_pa_core_arch_arm_mm_mobj_c' used MISRAC2012-RULE_21_2-a-2
619:  The '____keep_pager_mobj_with_fobj_get_pa' object has no definition MISRAC2012-RULE_8_6-a-2
619:  The identifier '____keep_pager_mobj_with_fobj_get_pa_core_arch_arm_mm_mobj_c' has the same first 31 characters of the name as the identifier '____keep_pager_mobj_with_fobj_get_pa' defined in the 'mobj.c' file in line '619' MISRAC2012-RULE_5_1-a-2
648:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
656:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
662:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/mobj_dyn_shm.c
35:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
44:  Flexible array member 'pages' is declared MISRAC2012-RULE_18_7-a-2
64:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
64:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
66:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
66:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
69:  A tag name 'mobj_reg_shm' is reused MISRAC2012-RULE_5_7-a-2
69:  Identifier 'mobj_reg_shm' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
73:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
74:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
77:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
89:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
95:  Declaration of object '____keep_pager_mobj_reg_shm_get_pa_core_arch_arm_mm_mobj_dyn_shm_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
95:  Pointer to function 'TEE_Result (*)(struct mobj *, size_t, size_t, paddr_t *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
95:  Reserved name '____keep_pager_mobj_reg_shm_get_pa' used MISRAC2012-RULE_21_2-a-2
95:  Reserved name '____keep_pager_mobj_reg_shm_get_pa_core_arch_arm_mm_mobj_dyn_shm_c' used MISRAC2012-RULE_21_2-a-2
95:  The '____keep_pager_mobj_reg_shm_get_pa' object has no definition MISRAC2012-RULE_8_6-a-2
95:  The identifier '____keep_pager_mobj_reg_shm_get_pa_core_arch_arm_mm_mobj_dyn_shm_c' has the same first 31 characters of the name as the identifier '____keep_pager_mobj_reg_shm_get_pa' defined in the 'mobj_dyn_shm.c' file in line '95' MISRAC2012-RULE_5_1-a-2
97:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
97:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
104:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
104:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
108:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
111:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
117:  Potential macro 'SMALL_PAGE_SHIFT' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
123:  A tag name 'mobj_reg_shm' is reused MISRAC2012-RULE_5_7-a-2
123:  Identifier 'mobj_reg_shm' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
127:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
132:  'while' statement in a function 'reg_shm_free_helper' should be followed by a block MISRAC2012-RULE_15_6-a-2
133:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
133:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
136:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
136:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
162:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
168:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
168:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
171:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
172:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
179:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
179:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
190:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
193:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
196:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
197:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
203:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
216:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
216:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
226:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
234:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
234:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
236:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
236:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
253:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
253:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
261:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
261:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
264:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
270:  A tag name 'mobj_reg_shm' is reused MISRAC2012-RULE_5_7-a-2
270:  Identifier 'mobj_reg_shm' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
275:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
279:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
281:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
281:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
282:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
292:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
296:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
300:  The argument number '1' ('essentially Enum' type) is passed to the function 'core_pbuf_is' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
311:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
311:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
315:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
315:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
325:  A tag name 'mobj_reg_shm' is reused MISRAC2012-RULE_5_7-a-2
325:  Identifier 'mobj_reg_shm' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
327:  'for' statement in a function 'reg_shm_find_unlocked' should be followed by a block MISRAC2012-RULE_15_6-a-2
327:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
340:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
359:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
366:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
367:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
382:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
392:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
397:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
407:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
407:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
410:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
413:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
427:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
427:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
439:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/pgt_cache.c
59:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
59:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
59:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
107:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
107:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
107:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
125:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
127:  The argument number '3' ('essentially signed' type) is passed to the function 'memset' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
127:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
405:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
405:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
421:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
428:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
428:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
441:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
442:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
442:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
443:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
443:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
453:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
454:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
455:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
459:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
459:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
464:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
473:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
473:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
484:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
489:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
500:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
500:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
500:  Identifiers given in declaration of 'pgt_alloc' function (file: 'pgt_cache.h', line: '60') are: 'owning_ctx' not: 'ctx' MISRAC2012-RULE_8_3-b-2
518:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
518:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/tee_mm.c
16:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
17:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
17:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
19:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
19:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
24:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
25:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
25:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
27:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
27:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
32:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
33:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
33:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
35:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
35:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
44:  Composite expression with 'signed' essential type category shall not be cast to different essential type category 'unsigned' MISRAC2012-RULE_10_8-a-2
44:  Composite expression with 'signed' essential type category shall not be cast to different essential type category 'unsigned' MISRAC2012-RULE_10_8-a-2
44:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
45:  Composite expression with 'signed' essential type category shall not be cast to different essential type category 'unsigned' MISRAC2012-RULE_10_8-a-2
45:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
47:  Potential macro 'UINT32_MAX' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
58:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
59:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
71:  'while' statement in a function 'tee_mm_final' should be followed by a block MISRAC2012-RULE_15_6-a-2
90:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
94:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
99:  The value of a composite expression (32 bit essential type) is returned from function 'tee_mm_stats_allocated' with wider essential return type (64 bit) MISRAC2012-RULE_10_6-a-2
107:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
110:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
114:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
115:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
116:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
 +  127:  "pool" may possibly be null MISRAC2012-DIR_4_1-b-2
145:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
145:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
149:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
161:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
162:  'while' statement in a function 'tee_mm_alloc' should be followed by a block MISRAC2012-RULE_15_6-a-2
162:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
167:  'while' statement in a function 'tee_mm_alloc' should be followed by a block MISRAC2012-RULE_15_6-a-2
167:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
174:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
184:  Essential type of RHS operand (64 bit) is wider than essential type of composite expression in LHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
193:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
205:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
206:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
209:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
225:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
228:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
233:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
252:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
252:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
260:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
270:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
271:  'while' statement in a function 'tee_mm_alloc2' should be followed by a block MISRAC2012-RULE_15_6-a-2
272:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
275:  'while' statement in a function 'tee_mm_alloc2' should be followed by a block MISRAC2012-RULE_15_6-a-2
285:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
286:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
303:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
303:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
310:  'while' statement in a function 'tee_mm_free' should be followed by a block MISRAC2012-RULE_15_6-a-2
313:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
324:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
324:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
327:  The value of a composite expression (32 bit essential type) is returned from function 'tee_mm_get_bytes' with wider essential return type (64 bit) MISRAC2012-RULE_10_6-a-2
332:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
362:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
368:  Cast from 'const tee_mm_pool_t *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
375:  Cast from 'const tee_mm_pool_t *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
381:  Cast from 'const tee_mm_pool_t *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
387:  Essential type of RHS operand (64 bit) is wider than essential type of composite expression in LHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/plat-vexpress/main.c
27:  A tag name 'gic_data' is reused MISRAC2012-RULE_5_7-a-2
30:  Declaration of object '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_plat_vexpress_main_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
30:  Reserved name '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_plat_vexpress_main_c' used MISRAC2012-RULE_21_2-a-2
30:  Reserved name '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_plat_vexpress_main_c' used MISRAC2012-RULE_21_2-a-2
30:  Reserved name '__scattered_array_0phys_mem_map' used MISRAC2012-RULE_21_2-a-2
30:  Reserved name '__scattered_array_0phys_mem_map' used MISRAC2012-RULE_21_2-a-2
30:  The '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_plat_vexpress_main_c' object has no definition MISRAC2012-RULE_8_6-a-2
30:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
30:  The identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
30:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
30:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
30:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
32:  Potential macro 'TZCDRAM_BASE' used as '2' parameter of potential macro 'register_phys_mem' MISRAC2012-RULE_20_12-a-2
38:  Potential macro 'DRAM0_BASE' used as '1' parameter of potential macro 'register_ddr' MISRAC2012-RULE_20_12-a-2
41:  Potential macro 'DRAM1_BASE' used as '1' parameter of potential macro 'register_ddr' MISRAC2012-RULE_20_12-a-2
46:  Declaration of object '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_plat_vexpress_main_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
46:  Reserved name '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_plat_vexpress_main_c' used MISRAC2012-RULE_21_2-a-2
46:  Reserved name '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_plat_vexpress_main_c' used MISRAC2012-RULE_21_2-a-2
46:  Reserved name '__scattered_array_1phys_mem_map' used MISRAC2012-RULE_21_2-a-2
46:  Reserved name '__scattered_array_1phys_mem_map' used MISRAC2012-RULE_21_2-a-2
46:  The '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_plat_vexpress_main_c' object has no definition MISRAC2012-RULE_8_6-a-2
46:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
46:  The identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
46:  The identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
46:  The identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '46' MISRAC2012-RULE_5_1-a-2
46:  The identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
46:  The identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
46:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
46:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
46:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
47:  Declaration of object '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_plat_vexpress_main_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
47:  Reserved name '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_plat_vexpress_main_c' used MISRAC2012-RULE_21_2-a-2
47:  Reserved name '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_plat_vexpress_main_c' used MISRAC2012-RULE_21_2-a-2
47:  Reserved name '__scattered_array_2phys_mem_map' used MISRAC2012-RULE_21_2-a-2
47:  Reserved name '__scattered_array_2phys_mem_map' used MISRAC2012-RULE_21_2-a-2
47:  The '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_plat_vexpress_main_c' object has no definition MISRAC2012-RULE_8_6-a-2
47:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '46' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '46' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_map_core_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '47' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_map_core_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_0phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '30' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_map_core_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '46' MISRAC2012-RULE_5_1-a-2
47:  The identifier '____keep_init___scattered_array_2phys_mem_mapcore_arch_arm_plat_vexpress_main_c' has the same first 31 characters of the name as the identifier '____keep_init___scattered_array_1phys_mem_mapcore_arch_arm_plat_vexpress_main_c' defined in the 'main.c' file in line '46' MISRAC2012-RULE_5_1-a-2
47:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
47:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
47:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
49:  The 'main_init_gic' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
54:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
54:  The argument number '1' ('essentially signed' type) is passed to the function 'phys_to_virt' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
56:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
56:  The argument number '1' ('essentially signed' type) is passed to the function 'phys_to_virt' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
58:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
58:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
80:  The 'itr_core_handler' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
 +  107:  Value of "ch" is never used MISRAC2012-RULE_2_2-b-2
119:  Declaration of object '____keep_pager_console_itr_core_arch_arm_plat_vexpress_main_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
119:  Reserved name '____keep_pager_console_itr' used MISRAC2012-RULE_21_2-a-2
119:  Reserved name '____keep_pager_console_itr_core_arch_arm_plat_vexpress_main_c' used MISRAC2012-RULE_21_2-a-2
119:  The '____keep_pager_console_itr' object has no definition MISRAC2012-RULE_8_6-a-2
127:  Reserved name '__scattered_array_3initcall' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/plat-vexpress/vendor_props.c
33:  The dimension of array 'data' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
34:  The dimension of array 'bin' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
40:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
44:  In the call of the function 'memcpy' the first argument type is not compatible with the second argument type MISRAC2012-RULE_21_15-a-2
44:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
46:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
48:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
53:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
63:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
68:  Declaration of object 'vendor_props_tee' does not precede its definition MISRAC2012-RULE_8_4-a-2
68:  The 'vendor_props_tee' object is also defined in other translation units MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/arch_svc.c
44:  Each instance of parameter: '_fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
46:  Each instance of parameter: '_fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
53:  Pointer to function 'void (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
54:  Pointer to function 'void (const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
55:  Pointer to function 'void (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
56:  Pointer to function 'TEE_Result (unsigned long, unsigned long, void *, uint32_t *, void *, uint32_t *, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
57:  Pointer to function 'TEE_Result (unsigned long, void *, unsigned long, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
58:  Pointer to function 'TEE_Result (const TEE_UUID *, unsigned long, struct utee_params *, uint32_t *, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
59:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
60:  Pointer to function 'TEE_Result (unsigned long, unsigned long, unsigned long, struct utee_params *, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
61:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
62:  Pointer to function 'TEE_Result (uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
63:  Pointer to function 'TEE_Result (uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
64:  Pointer to function 'TEE_Result (uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
65:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
66:  Pointer to function 'TEE_Result (unsigned long, TEE_Time *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
67:  Pointer to function 'TEE_Result (const TEE_Time *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
68:  Pointer to function 'TEE_Result (unsigned long, unsigned long, unsigned long, unsigned long, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
69:  Pointer to function 'TEE_Result (unsigned long, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
70:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
71:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
72:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
73:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
74:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
75:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
76:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
77:  Pointer to function 'TEE_Result (unsigned long, TEE_ObjectInfo *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
78:  Pointer to function 'TEE_Result (unsigned long, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
79:  Pointer to function 'TEE_Result (unsigned long, unsigned long, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
80:  Pointer to function 'TEE_Result (unsigned long, unsigned long, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
81:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
82:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
83:  Pointer to function 'TEE_Result (unsigned long, struct utee_attribute *, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
84:  Pointer to function 'TEE_Result (unsigned long, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
85:  Pointer to function 'TEE_Result (unsigned long, const struct utee_attribute *, unsigned long, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
86:  Pointer to function 'TEE_Result (void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
87:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t, size_t, size_t, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
88:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
89:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
90:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t, void *, uint64_t *, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
91:  Pointer to function 'TEE_Result (unsigned long, const void *, size_t, void *, uint64_t *, const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
92:  Pointer to function 'TEE_Result (unsigned long, const struct utee_attribute *, size_t, const void *, size_t, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
93:  Pointer to function 'TEE_Result (unsigned long, const struct utee_attribute *, size_t, const void *, size_t, const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
94:  Pointer to function 'TEE_Result (unsigned long, void *, size_t, unsigned long, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
95:  Pointer to function 'TEE_Result (unsigned long, void *, size_t, unsigned long, unsigned long, void *, size_t, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
96:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
97:  Pointer to function 'TEE_Result (unsigned long, void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
98:  Pointer to function 'TEE_Result (uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
99:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
100:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
101:  Pointer to function 'TEE_Result (unsigned long, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
102:  Pointer to function 'TEE_Result (unsigned long, TEE_ObjectInfo *, void *, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
103:  Pointer to function 'TEE_Result (unsigned long, void *, size_t, uint64_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
104:  Pointer to function 'TEE_Result (unsigned long, void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
105:  Pointer to function 'TEE_Result (unsigned long, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
106:  Pointer to function 'TEE_Result (unsigned long, int32_t, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
107:  Pointer to function 'TEE_Result (unsigned long, unsigned long, const struct utee_attribute *, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
108:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
109:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
110:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
111:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
112:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
113:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
114:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
115:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
116:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
117:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
118:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
119:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
120:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
121:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
122:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
123:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
123:  Potential macro 'syscall_cache_operation' used as '1' parameter of potential macro 'SYSCALL_ENTRY' MISRAC2012-RULE_20_12-a-2
132:  Pointer to function 'void (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
133:  Pointer to function 'void (const void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
134:  Pointer to function 'void (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
135:  Pointer to function 'TEE_Result (vaddr_t *, size_t, size_t, size_t, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
136:  Pointer to function 'TEE_Result (vaddr_t, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
137:  Pointer to function 'TEE_Result (const TEE_UUID *, size_t, uint32_t *)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
138:  Pointer to function 'TEE_Result (unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
139:  Pointer to function 'TEE_Result (vaddr_t *, size_t, unsigned long, size_t, size_t, size_t, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
140:  Pointer to function 'TEE_Result (void *, size_t, size_t, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
141:  Pointer to function 'TEE_Result (unsigned long, size_t, unsigned long)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
142:  Pointer to function 'TEE_Result (unsigned long, vaddr_t *, size_t, size_t, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
143:  Pointer to function 'TEE_Result (void *, size_t)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
209:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
239:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
239:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
239:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
239:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
243:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
245:  Expression of type 'unsigned long long' should not be converted to pointer to function 'void (*)(void)' MISRAC2012-RULE_11_1-a-2
245:  Reserved name '__fv' used MISRAC2012-RULE_21_2-a-2
245:  Reserved name '__nl_val' used MISRAC2012-RULE_21_2-a-2
245:  Reserved name '__nln_val' used MISRAC2012-RULE_21_2-a-2
245:  Reserved name '__ptr_once' used MISRAC2012-RULE_21_2-a-2
245:  Reserved name '__static_assert_no_speculate_load_size_too_big' used MISRAC2012-RULE_21_2-a-2
245:  The function 'get_tee_syscall_func' returns pointer to local object MISRAC2012-RULE_18_6-a-2
245:  The function 'get_tee_syscall_func' returns pointer to local object MISRAC2012-RULE_1_3-m-2
245:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
261:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
285:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
285:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
285:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
285:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
289:  Pointer to function 'TEE_Result (void)' is cast to pointer to incompatible function 'void (void)' MISRAC2012-RULE_11_1-b-2
291:  Expression of type 'unsigned long long' should not be converted to pointer to function 'void (*)(void)' MISRAC2012-RULE_11_1-a-2
291:  Reserved name '__fv' used MISRAC2012-RULE_21_2-a-2
291:  Reserved name '__nl_val' used MISRAC2012-RULE_21_2-a-2
291:  Reserved name '__nln_val' used MISRAC2012-RULE_21_2-a-2
291:  Reserved name '__ptr_once' used MISRAC2012-RULE_21_2-a-2
291:  Reserved name '__static_assert_no_speculate_load_size_too_big' used MISRAC2012-RULE_21_2-a-2
291:  The function 'get_ldelf_syscall_func' returns pointer to local object MISRAC2012-RULE_18_6-a-2
291:  The function 'get_ldelf_syscall_func' returns pointer to local object MISRAC2012-RULE_1_3-m-2
291:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
307:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
409:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
409:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
420:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
420:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
430:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
431:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
431:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
431:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
462:  The identifier 'panic' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
462:  The identifier 'panic' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
477:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/cache.c
24:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
25:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
55:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/entry_fast.c
23:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
53:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  55:  Condition "ret == 4294901770" always evaluates to true MISRAC2012-RULE_14_3-ac-2
55:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
56:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
57:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
80:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
80:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
80:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
80:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
89:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
89:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
94:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
94:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
99:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
99:  The right hand operand of the '|=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
114:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
188:  Reserved name '__tee_entry_fast' used MISRAC2012-RULE_21_2-a-2
193:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
193:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
193:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
193:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
193:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
193:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
193:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
193:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
196:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
196:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
196:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
196:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
196:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
196:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
196:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
196:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
199:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
199:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
199:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
199:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
199:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
199:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
199:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
199:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
202:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
202:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
202:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
202:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
202:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
202:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
202:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
202:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
205:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
205:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
205:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
205:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
205:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
205:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
205:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
205:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
211:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
211:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
211:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
211:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
211:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
211:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
211:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
215:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
215:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
215:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
215:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
215:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
215:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
215:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
218:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
218:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
218:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
218:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
218:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
218:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
218:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
218:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
221:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
221:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
221:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
221:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
221:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
221:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
221:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
221:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
224:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
224:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
224:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
224:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
224:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
224:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
224:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
224:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
227:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
227:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
227:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
227:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
227:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
227:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
227:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
230:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
230:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
230:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
230:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
230:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
230:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
230:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
230:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
244:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
273:  Integer constant '0xe7f811e3' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
274:  Integer constant '0xaf630002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
275:  Integer constant '0xa5d5c51b' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
287:  Integer constant '0xe7f811e3' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
288:  Integer constant '0xbc5e0002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
289:  Integer constant '0xa5d5c51b' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
296:  Integer constant '0xe70a7aba' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/entry_std.c
44:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
44:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
53:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
53:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
100:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
100:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
 +  100:  Value of "mobj" is never used MISRAC2012-RULE_2_2-b-2
107:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
115:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
120:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
121:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
140:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
152:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
153:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
164:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
181:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
183:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
190:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
191:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
193:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
201:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
203:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
204:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
221:  The argument number '2' (8 byte essential type) is passed to the function 'set_tmem_param' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
223:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
225:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
234:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
236:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
242:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
246:  The value of a composite expression (8 bit essential type) is assigned to an object with wider essential type (32 bit) MISRAC2012-RULE_10_6-a-2
269:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
269:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
280:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
293:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
293:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
302:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
302:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
319:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
323:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
326:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
329:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
332:  Integer constant '0x80000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
333:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
344:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
367:  The argument number '2' (8 byte essential type) is passed to the function 'copy_in_params' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
373:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
376:  The argument number '2' (8 byte essential type) is passed to the function 'copy_out_param' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
387:  Identifier 'cleanup_shm_refs' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
388:  The argument number '3' (8 byte essential type) is passed to the function 'cleanup_shm_refs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
391:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
404:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
405:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
434:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
435:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
440:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
461:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
462:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
467:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
468:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
484:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
488:  The left hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
492:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
492:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
496:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
509:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
513:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
535:  Reserved name '__tee_entry_std' used MISRAC2012-RULE_21_2-a-2
564:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
564:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
 +  576:  Condition "core_mmu_is_shm_cached()" always evaluates to true MISRAC2012-RULE_14_3-ac-2
578:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
591:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/aes-cts.c
44:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
46:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
61:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
109:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
111:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
112:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
117:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
119:  The argument number '3' ('essentially signed' type) is passed to the function 'memcpy' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
 +  120:  The number of bytes to process by the "memset" function is not positive and equals 0 MISRAC2012-RULE_21_18-a-1
120:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
122:  The argument number '3' ('essentially signed' type) is passed to the function 'memset' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
126:  The argument number '6' ('essentially signed' type) is passed to the function 'tee_do_cipher_update' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
130:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
132:  The argument number '3' ('essentially signed' type) is passed to the function 'memcpy' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
135:  The argument number '6' ('essentially signed' type) is passed to the function 'tee_do_cipher_update' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
144:  The argument number '6' ('essentially signed' type) is passed to the function 'tee_do_cipher_update' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
149:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
150:  The argument number '3' ('essentially signed' type) is passed to the function 'memcpy' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
151:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
152:  The argument number '3' ('essentially signed' type) is passed to the function 'memcpy' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
162:  The argument number '6' ('essentially signed' type) is passed to the function 'tee_do_cipher_update' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
169:  The argument number '6' ('essentially signed' type) is passed to the function 'tee_do_cipher_update' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
178:  The argument number '6' ('essentially signed' type) is passed to the function 'tee_do_cipher_update' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
183:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
184:  The argument number '3' ('essentially signed' type) is passed to the function 'memcpy' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
212:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
212:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
237:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
237:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
239:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
240:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
243:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
246:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
255:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
255:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/aes-gcm-ghash-tbl.c
49:  Identifiers given in declaration of 'internal_aes_gcm_ghash_gen_tbl' function (file: 'internal_aes-gcm.h', line: '108') are: 'enc_key' not: 'ek' MISRAC2012-RULE_8_3-b-2
56:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
70:  Left-hand operand of right-shift operator is a variable 'i' of 'signed int' type MISRAC2012-RULE_1_3-o-2
70:  The left hand operand of the '>>=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
71:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
71:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
117:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
117:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
123:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
123:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
127:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
127:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
135:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
135:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/aes-gcm-sw.c
13:  Identifiers given in declaration of 'internal_aes_gcm_set_key' function (file: 'internal_aes-gcm.h', line: '118') are: 'enc_key' not: 'ek' MISRAC2012-RULE_8_3-b-2
43:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
46:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
47:  'for' statement in a function 'internal_aes_gcm_ghash_update' should be followed by a block MISRAC2012-RULE_15_6-a-2
61:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
61:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
74:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
86:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
86:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
104:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
104:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
113:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
125:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
125:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
132:  Identifiers given in declaration of 'internal_aes_gcm_update_payload_blocks' function (file: 'internal_aes-gcm.h', line: '129') are: 'mode' not: 'm' MISRAC2012-RULE_8_3-b-2
132:  The identifier 'internal_aes_gcm_update_payload_blocks' has the same first 31 characters of the name as the identifier 'internal_aes_gcm_update_payload' defined in the 'internal_aes-gcm.h' file in line '61' MISRAC2012-RULE_5_1-a-2
137:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
137:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/aes-gcm.c
22:  'for' statement in a function 'xor_buf' should be followed by a block MISRAC2012-RULE_15_6-a-2
33:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
41:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
41:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
49:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
50:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
51:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
51:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
61:  The value of a composite expression (32 bit essential type) is passed to function '__builtin_bswap64' as parameter with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
62:  The value of a composite expression (32 bit essential type) is passed to function '__builtin_bswap64' as parameter with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
65:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
65:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
65:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
65:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
69:  Reserved name '__gcm_init' used MISRAC2012-RULE_21_2-a-2
74:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
74:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
74:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
74:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
77:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
79:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
81:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
85:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
85:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
89:  The argument number '3' (8 byte essential type) is passed to the function 'ghash_update_lengths' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
91:  In the call of the function 'memcpy' the first argument type 'unsigned long*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
91:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
92:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
134:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
140:  Reserved name '__gcm_update_aad' used MISRAC2012-RULE_21_2-a-2
148:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
149:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
151:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
153:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
154:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
157:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
157:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
158:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
159:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
190:  Reserved name '__gcm_update_payload' used MISRAC2012-RULE_21_2-a-2
200:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
200:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
202:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
208:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
210:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
211:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
212:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
212:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
214:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
220:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
222:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
225:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
227:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
274:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
277:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
278:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
290:  Reserved name '__gcm_enc_final' used MISRAC2012-RULE_21_2-a-2
298:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
301:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
304:  In the call of the function 'memcpy' the first argument type 'void*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
304:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
318:  Reserved name '__gcm_dec_final' used MISRAC2012-RULE_21_2-a-2
326:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
329:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
332:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
333:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  352:  Condition "!c" always evaluates to false MISRAC2012-RULE_14_3-ac-2
352:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
381:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
384:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
386:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
404:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
407:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
409:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
433:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
436:  Identifiers given in declaration of 'crypto_aes_gcm_alloc_ctx' function (file: 'crypto_impl.h', line: '268') are: 'ctx' not: 'ctx_ret' MISRAC2012-RULE_8_3-b-2
438:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
438:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
440:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
441:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
451:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
451:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
537:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
537:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
537:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
537:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
541:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
541:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
543:  Integer constant '0xe100000000000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/cbc-mac.c
37:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
39:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
47:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
48:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
65:  The value of a composite expression (8 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
67:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
73:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
83:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
92:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
93:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
110:  The value of a composite expression (8 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
112:  The argument number '2' ('essentially unsigned' type) is passed to the function 'memset' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
112:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
114:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
115:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
118:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
119:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
121:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
121:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
121:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
132:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
132:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
146:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
147:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
169:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
173:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
176:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
176:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
177:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
179:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
185:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/crypto.c
19:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  28:  Condition "res == 4294901769" always evaluates to true MISRAC2012-RULE_14_3-ac-2
28:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
52:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
52:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
56:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
66:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
66:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
73:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
99:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  108:  Condition "res == 4294901769" always evaluates to true MISRAC2012-RULE_14_3-ac-2
108:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
147:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
151:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
161:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
161:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
168:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
183:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
207:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
221:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  236:  Condition "res == 4294901769" always evaluates to true MISRAC2012-RULE_14_3-ac-2
236:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
277:  Integer constant '0xF0000613' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
284:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
288:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
298:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
298:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
305:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
321:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
349:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
352:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
362:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
362:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
390:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
403:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
416:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
430:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
668:  Identifiers given in declaration of 'crypto_acipher_alloc_ecc_public_key' function (file: 'crypto.h', line: '191') are: 's' not: 'key' MISRAC2012-RULE_8_3-b-2
672:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  679:  Condition "res == 4294901769" always evaluates to true MISRAC2012-RULE_14_3-ac-2
679:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
686:  Identifiers given in declaration of 'crypto_acipher_alloc_ecc_keypair' function (file: 'crypto.h', line: '194') are: 's' not: 'key' MISRAC2012-RULE_8_3-b-2
690:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  697:  Condition "res == 4294901769" always evaluates to true MISRAC2012-RULE_14_3-ac-2
697:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
704:  Identifiers given in declaration of 'crypto_acipher_free_ecc_public_key' function (file: 'crypto.h', line: '197') are: 's' not: 'key' MISRAC2012-RULE_8_3-b-2
706:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
706:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
711:  Identifiers given in declaration of 'crypto_acipher_gen_ecc_key' function (file: 'crypto.h', line: '206') are: 'key_size' not: 'key_size_bits' MISRAC2012-RULE_8_3-b-2
714:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
714:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
723:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
725:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
726:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
735:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
737:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
738:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
748:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
750:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
751:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
761:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
763:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
764:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
773:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
775:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
776:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/rng_fortuna.c
72:  Declaration of object 'ring_buffer_spin_lock' does not precede its definition MISRAC2012-RULE_8_4-a-2
 +  77:  Condition "!counter[0]" always evaluates to false MISRAC2012-RULE_14_3-ac-2
77:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
102:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
105:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
137:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
137:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
137:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
137:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
139:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
140:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
142:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
146:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
149:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
154:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
158:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
162:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
165:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
178:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
185:  Essential type of RHS operand (64 bit) is wider than essential type of composite expression in LHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
185:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
192:  In the call of the function 'memcpy' the first argument type 'unsigned char*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
192:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
209:  Essential type of RHS operand (64 bit) is wider than essential type of composite expression in LHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
209:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
213:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
213:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
215:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
227:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
230:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
233:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
236:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
238:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
258:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
262:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
302:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
302:  The left hand operand of the '>>' operator has essentially enum type: crypto_rng_src MISRAC2012-RULE_10_1-d-2
302:  The left hand operand of the '>>' operator has essentially enum type: crypto_rng_src MISRAC2012-RULE_10_1-e-2
304:  The left hand operand of the '&' operator has essentially enum type: crypto_rng_src MISRAC2012-RULE_10_1-d-2
304:  The left hand operand of the '&' operator has essentially enum type: crypto_rng_src MISRAC2012-RULE_10_1-e-2
304:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
304:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
305:  The argument number '2' (4 byte essential type) is passed to the function 'push_ring_buffer' as a parameter with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
308:  The argument number '2' (4 byte essential type) is passed to the function 'add_event' as a parameter with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
308:  Unused function's "add_event" return value MISRAC2012-RULE_17_7-a-2
309:  Unused function's "drain_ring_buffer" return value MISRAC2012-RULE_17_7-a-2
333:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
346:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
348:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
353:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
355:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
383:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
399:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
403:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
429:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
429:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
429:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
447:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
453:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
455:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
459:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
463:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
469:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
480:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
481:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
486:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
489:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
493:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
496:  The argument number '2' ('essentially signed' type) is passed to the function 'generate_blocks' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
497:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
501:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
507:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
514:  Identifiers given in declaration of 'crypto_rng_read' function (file: 'crypto.h', line: '348') are: 'len' not: 'blen' MISRAC2012-RULE_8_3-b-2
523:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
523:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
524:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
527:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/signed_hdr.c
19:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
19:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
33:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
33:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
34:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
36:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
40:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
40:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
47:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
47:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
55:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
58:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
62:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
63:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
65:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
68:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
69:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
72:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
76:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
79:  The argument number '3' ('essentially unsigned' type) is passed to the function 'crypto_acipher_rsassa_verify' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
80:  Cast from 'const struct shdr *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
81:  Cast from 'const struct shdr *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
84:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
85:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm2-kdf.c
30:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
33:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
44:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
47:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
51:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
53:  The argument number '3' ('essentially Enum' type) is passed to the function 'crypto_hash_final' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
54:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
58:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
62:  The right hand operand of the '+=' operator has essentially enum type: t_hash_size MISRAC2012-RULE_10_1-d-2
63:  The right hand operand of the '-=' operator has essentially enum type: t_hash_size MISRAC2012-RULE_10_1-d-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm3-hash.c
30:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
32:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
55:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
60:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
70:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
80:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
80:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
104:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
104:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
105:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
106:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm3-hmac.c
30:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
32:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
55:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
60:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
70:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
80:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
80:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
104:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
104:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
105:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
106:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm3.c
42:  Integer constant '0xDA8A0600' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
43:  Integer constant '0xA96F30BC' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
45:  Integer constant '0xE38DEE4D' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
46:  Integer constant '0xB0FB0E4E' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
57:  'for' statement in a function 'sm3_process' should be followed by a block MISRAC2012-RULE_15_6-a-2
59:  'for' statement in a function 'sm3_process' should be followed by a block MISRAC2012-RULE_15_6-a-2
98:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
98:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
100:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
100:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
101:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
101:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
101:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
101:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
105:  'for' statement in a function 'sm3_process' should be followed by a block MISRAC2012-RULE_15_6-a-2
118:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
118:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
118:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
118:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
118:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
118:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
118:  The right hand operand of the shift operator '>>' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
119:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
119:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
123:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
123:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
127:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
127:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
129:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
129:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
133:  The left hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
133:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
133:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
133:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
133:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
133:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
133:  The right hand operand of the shift operator '>>' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
134:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
134:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
138:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
138:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
142:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
142:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
144:  The left hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
144:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
162:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
165:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
165:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
168:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
173:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
174:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
188:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
210:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
248:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
249:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm4-cbc.c
27:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
29:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
41:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
48:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
74:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
74:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
84:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
95:  Identifiers given in declaration of 'crypto_sm4_cbc_alloc_ctx' function (file: 'crypto_impl.h', line: '221') are: 'ctx' not: 'ctx_ret' MISRAC2012-RULE_8_3-b-2
99:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
99:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
100:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
101:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm4-ctr.c
27:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
29:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
42:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
45:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
71:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
71:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
81:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
92:  Identifiers given in declaration of 'crypto_sm4_ctr_alloc_ctx' function (file: 'crypto_impl.h', line: '227') are: 'ctx' not: 'ctx_ret' MISRAC2012-RULE_8_3-b-2
96:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
96:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
97:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
98:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm4-ecb.c
25:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
27:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
40:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
70:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
70:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
90:  Identifiers given in declaration of 'crypto_sm4_ecb_alloc_ctx' function (file: 'crypto_impl.h', line: '215') are: 'ctx' not: 'ctx_ret' MISRAC2012-RULE_8_3-b-2
94:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
94:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
95:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
96:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm4.c
38:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
38:  Each instance of parameter: 'a' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
38:  Each instance of parameter: 'b' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
38:  Each instance of parameter: 'b' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
80:  Integer constant '0xa3b1bac6' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
80:  Integer constant '0xb27022dc' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
86:  Integer constant '0x8c939aa1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
86:  Integer constant '0xa8afb6bd' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
86:  Integer constant '0xc4cbd2d9' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
87:  Integer constant '0xe0e7eef5' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
87:  Integer constant '0xfc030a11' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
88:  Integer constant '0x888f969d' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
88:  Integer constant '0xa4abb2b9' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
89:  Integer constant '0xc0c7ced5' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
89:  Integer constant '0xdce3eaf1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
89:  Integer constant '0xf8ff060d' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
90:  Integer constant '0x848b9299' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  Integer constant '0xa0a7aeb5' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  Integer constant '0xbcc3cad1' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  Integer constant '0xd8dfe6ed' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  Integer constant '0xf4fb0209' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
115:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
115:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
137:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
137:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
169:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
176:  'for' statement in a function 'sm4_one_round' should be followed by a block MISRAC2012-RULE_15_6-a-2
 +  200:  Value of "t" is never used MISRAC2012-RULE_2_2-b-2
206:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
222:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
226:  'for' statement in a function 'sm4_crypt_cbc' should be followed by a block MISRAC2012-RULE_15_6-a-2
229:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
237:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
239:  'for' statement in a function 'sm4_crypt_cbc' should be followed by a block MISRAC2012-RULE_15_6-a-2
241:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
255:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
258:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
260:  'for' statement in a function 'sm4_crypt_ctr' should be followed by a block MISRAC2012-RULE_15_6-a-2
262:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
263:  'for' statement in a function 'sm4_crypt_ctr' should be followed by a block MISRAC2012-RULE_15_6-a-2
264:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/drivers/gic.c
87:  Declaration of object '____keep_pager_gic_ops_core_drivers_gic_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
87:  Reserved name '____keep_pager_gic_ops' used MISRAC2012-RULE_21_2-a-2
87:  Reserved name '____keep_pager_gic_ops_core_drivers_gic_c' used MISRAC2012-RULE_21_2-a-2
87:  The '____keep_pager_gic_ops' object has no definition MISRAC2012-RULE_8_6-a-2
94:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
107:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
113:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
117:  Essential type of RHS operand (32 bit) is wider than essential type of composite expression in LHS operand (8 bit) MISRAC2012-RULE_10_7-a-2
117:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
117:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
118:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
137:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
137:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
145:  Integer constant '0xffff00ff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
158:  The argument number '2' ('essentially signed' type) is passed to the function 'io_write32' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
158:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
158:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
158:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
158:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
159:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
172:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
175:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
184:  Integer constant '0xffff00ff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
186:  Integer constant '0xffffffff' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
201:  The argument number '2' ('essentially signed' type) is passed to the function 'io_write32' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
201:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
201:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
201:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
202:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
202:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
204:  The argument number '2' ('essentially signed' type) is passed to the function 'io_setbits32' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
204:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
204:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
204:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
204:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
220:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
220:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
238:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
238:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
244:  Potential macro 'GICD_IGROUPR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
244:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
248:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
249:  The left hand operand of the '<<' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
249:  The operand of the '~' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
249:  The right hand operand of the '&=' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
250:  Essential type of LHS operand (32 bit) is wider than essential type of composite expression in RHS operand (8 bit) MISRAC2012-RULE_10_7-a-2
259:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
259:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
262:  Potential macro 'GICD_IGROUPR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
262:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
273:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
273:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
277:  Potential macro 'GICD_IGROUPR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
277:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
283:  Potential macro 'GICD_ISENABLER' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
283:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
293:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
293:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
296:  Potential macro 'GICD_IGROUPR' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
296:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
305:  The value of a composite expression (8 bit essential type) is assigned to an object with wider essential type (32 bit) MISRAC2012-RULE_10_6-a-2
308:  Potential macro 'NUM_SGI' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
317:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
317:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
318:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
318:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
319:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
319:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
324:  Potential macro 'NUM_SGI' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
351:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
351:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
352:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
358:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
358:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
359:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
365:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
367:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
367:  The left hand operand of the '<<' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
385:  The argument number '2' ('essentially signed' type) is passed to the function 'gic_it_is_enabled' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
398:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
/optee_os_MISRA/optee_os_ruchi393_core/drivers/pl011.c
96:  'while' statement in a function 'pl011_flush' should be followed by a block MISRAC2012-RULE_15_6-a-2
96:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
96:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
96:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
97:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
97:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
97:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
105:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
105:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
105:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
112:  'while' statement in a function 'pl011_getchar' should be followed by a block MISRAC2012-RULE_15_6-a-2
114:  The expression of the 'essentially unsigned' type is returned from function 'pl011_getchar' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
114:  The right hand operand of the '&' operator has essentially signed type: short MISRAC2012-RULE_10_1-e-2
122:  'while' statement in a function 'pl011_putc' should be followed by a block MISRAC2012-RULE_15_6-a-2
122:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
122:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
122:  The right hand operand of the '&' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
126:  The argument number '2' ('essentially signed' type) is passed to the function 'io_write32' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
135:  Declaration of object '____keep_pager_pl011_ops_core_drivers_pl011_c' does not precede its definition MISRAC2012-RULE_8_4-a-2
135:  Reserved name '____keep_pager_pl011_ops' used MISRAC2012-RULE_21_2-a-2
135:  Reserved name '____keep_pager_pl011_ops_core_drivers_pl011_c' used MISRAC2012-RULE_21_2-a-2
135:  The '____keep_pager_pl011_ops' object has no definition MISRAC2012-RULE_8_6-a-2
152:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
156:  The right hand operand of the '&' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
160:  The argument number '2' ('essentially signed' type) is passed to the function 'io_write32' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
160:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
163:  The argument number '2' ('essentially signed' type) is passed to the function 'io_write32' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
163:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
163:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
163:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
163:  The right hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
166:  The argument number '2' ('essentially signed' type) is passed to the function 'io_write32' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
166:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
166:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
166:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
166:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
175:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
175:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
177:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
 +  180:  Memory not deallocated: pd MISRAC2012-RULE_22_1-a-2
190:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
190:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
201:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
211:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
211:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
225:  Declaration of object 'pl011_dt_driver' does not precede its definition MISRAC2012-RULE_8_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/bench.h
51:  Flexible array member 'cpu_buf' is declared MISRAC2012-RULE_18_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/crypto/crypto.h
23:  Do not use reserved identifiers : __CRYPTO_CRYPTO_H MISRAC2012-RULE_21_1-a-2
27:  The 'crypto_init' function has no definition MISRAC2012-RULE_8_6-a-2
97:  The 'crypto_bignum_allocate' function has no definition MISRAC2012-RULE_8_6-a-2
98:  The 'crypto_bignum_bin2bn' function has no definition MISRAC2012-RULE_8_6-a-2
100:  The 'crypto_bignum_num_bytes' function has no definition MISRAC2012-RULE_8_6-a-2
101:  The 'crypto_bignum_num_bits' function has no definition MISRAC2012-RULE_8_6-a-2
102:  The 'crypto_bignum_bn2bin' function has no definition MISRAC2012-RULE_8_6-a-2
103:  The 'crypto_bignum_copy' function has no definition MISRAC2012-RULE_8_6-a-2
104:  The 'crypto_bignum_free' function has no definition MISRAC2012-RULE_8_6-a-2
105:  The 'crypto_bignum_clear' function has no definition MISRAC2012-RULE_8_6-a-2
108:  The 'crypto_bignum_compare' function has no definition MISRAC2012-RULE_8_6-a-2
179:  The 'crypto_acipher_alloc_rsa_keypair' function has no definition MISRAC2012-RULE_8_6-a-2
181:  The 'crypto_acipher_alloc_rsa_public_key' function has no definition MISRAC2012-RULE_8_6-a-2
183:  The 'crypto_acipher_free_rsa_public_key' function has no definition MISRAC2012-RULE_8_6-a-2
184:  The 'crypto_acipher_free_rsa_keypair' function has no definition MISRAC2012-RULE_8_6-a-2
185:  The 'crypto_acipher_alloc_dsa_keypair' function has no definition MISRAC2012-RULE_8_6-a-2
187:  The 'crypto_acipher_alloc_dsa_public_key' function has no definition MISRAC2012-RULE_8_6-a-2
189:  The 'crypto_acipher_alloc_dh_keypair' function has no definition MISRAC2012-RULE_8_6-a-2
202:  The 'crypto_acipher_gen_rsa_key' function has no definition MISRAC2012-RULE_8_6-a-2
203:  The 'crypto_acipher_gen_dsa_key' function has no definition MISRAC2012-RULE_8_6-a-2
204:  The 'crypto_acipher_gen_dh_key' function has no definition MISRAC2012-RULE_8_6-a-2
208:  The 'crypto_acipher_dh_shared_secret' function has no definition MISRAC2012-RULE_8_6-a-2
212:  The 'crypto_acipher_rsanopad_decrypt' function has no definition MISRAC2012-RULE_8_6-a-2
215:  The 'crypto_acipher_rsanopad_encrypt' function has no definition MISRAC2012-RULE_8_6-a-2
218:  The 'crypto_acipher_rsaes_decrypt' function has no definition MISRAC2012-RULE_8_6-a-2
222:  The 'crypto_acipher_rsaes_encrypt' function has no definition MISRAC2012-RULE_8_6-a-2
228:  The 'crypto_acipher_rsassa_sign' function has no definition MISRAC2012-RULE_8_6-a-2
232:  The 'crypto_acipher_rsassa_verify' function has no definition MISRAC2012-RULE_8_6-a-2
237:  The 'crypto_acipher_dsa_sign' function has no definition MISRAC2012-RULE_8_6-a-2
240:  The 'crypto_acipher_dsa_verify' function has no definition MISRAC2012-RULE_8_6-a-2
274:  The 'crypto_acipher_sm2_kep_derive' function has no definition MISRAC2012-RULE_8_6-a-2
287:  The 'hash_sha256_check' function has no definition MISRAC2012-RULE_8_6-a-2
298:  The 'hash_sha512_256_compute' function has no definition MISRAC2012-RULE_8_6-a-2
312:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
312:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
312:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
313:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
313:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
313:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
314:  The left hand operand of the '<<' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
314:  The left hand operand of the '|' operator has essentially signed type: int MISRAC2012-RULE_10_1-e-2
314:  The right hand operand of the '|' operator has essentially signed type: signed char MISRAC2012-RULE_10_1-e-2
358:  The 'crypto_aes_expand_enc_key' function has no definition MISRAC2012-RULE_8_6-a-2
370:  The 'crypto_aes_enc_block' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/crypto/crypto_impl.h
8:  Do not use reserved identifiers : __CRYPTO_CRYPTO_IMPL_H MISRAC2012-RULE_21_1-a-2
38:  The 'crypto_md5_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
44:  The 'crypto_sha1_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
50:  The 'crypto_sha224_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
56:  The 'crypto_sha256_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
62:  The 'crypto_sha384_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
68:  The 'crypto_sha512_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
100:  The 'crypto_hmac_md5_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
101:  The 'crypto_hmac_sha1_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
102:  The 'crypto_hmac_sha224_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
103:  The 'crypto_hmac_sha256_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
104:  The 'crypto_hmac_sha384_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
105:  The 'crypto_hmac_sha512_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
138:  The 'crypto_aes_cmac_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
139:  The 'crypto_des3_cmac_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
169:  The 'crypto_aes_ecb_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
175:  The 'crypto_aes_cbc_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
181:  The 'crypto_aes_ctr_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
193:  The 'crypto_aes_xts_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
199:  The 'crypto_des_ecb_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
200:  The 'crypto_des3_ecb_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
207:  The 'crypto_des_cbc_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
208:  The 'crypto_des3_cbc_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
267:  The 'crypto_aes_ccm_alloc_ctx' function has no definition MISRAC2012-RULE_8_6-a-2
277:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
289:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
301:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
315:  An external identifier with the same name 'free' was declared in the 'malloc.h' file in line 11 MISRAC2012-RULE_5_8-a-2
346:  The 'crypto_asym_alloc_ecc_public_key' function has no definition MISRAC2012-RULE_8_6-a-2
349:  The 'crypto_asym_alloc_ecc_keypair' function has no definition MISRAC2012-RULE_8_6-a-2
383:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
391:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/crypto/internal_aes-gcm.h
8:  Do not use reserved identifiers : __CRYPTO_INTERNAL_AES_GCM_H MISRAC2012-RULE_21_1-a-2
95:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
95:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
95:  Potential macro 'ALIGNMENT_IS_OK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
96:  Do not use the '_Alignof' operator MISRAC2012-RULE_1_4-h-2
96:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
96:  Potential macro 'ALIGNMENT_IS_OK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
104:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
104:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
129:  The identifier 'internal_aes_gcm_update_payload_blocks' has the same first 31 characters of the name as the identifier 'internal_aes_gcm_update_payload' defined in the 'internal_aes-gcm.h' file in line '61' MISRAC2012-RULE_5_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/drivers/gic.h
8:  Do not use reserved identifiers : __DRIVERS_GIC_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/drivers/serial.h
6:  Do not use reserved identifiers : __DRIVERS_SERIAL_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/drivers/tzc400.h
59:  Do not use reserved identifiers : __DRIVERS_TZC400_H MISRAC2012-RULE_21_1-a-2
167:  Each instance of parameter: 'x' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
178:  Each instance of parameter: 'id' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
181:  Each instance of parameter: 'id' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
209:  The left hand operand of the '|' operator has essentially enum type: tzc_action MISRAC2012-RULE_10_1-d-2
209:  The left hand operand of the '|' operator has essentially enum type: tzc_action MISRAC2012-RULE_10_1-e-2
209:  The right hand operand of the '|' operator has essentially enum type: tzc_action MISRAC2012-RULE_10_1-d-2
209:  The right hand operand of the '|' operator has essentially enum type: tzc_action MISRAC2012-RULE_10_1-e-2
220:  The left hand operand of the '|' operator has essentially enum type: tzc_region_attributes MISRAC2012-RULE_10_1-d-2
220:  The left hand operand of the '|' operator has essentially enum type: tzc_region_attributes MISRAC2012-RULE_10_1-e-2
220:  The right hand operand of the '|' operator has essentially enum type: tzc_region_attributes MISRAC2012-RULE_10_1-d-2
220:  The right hand operand of the '|' operator has essentially enum type: tzc_region_attributes MISRAC2012-RULE_10_1-e-2
231:  The 'tzc_init' function has no definition MISRAC2012-RULE_8_6-a-2
232:  The 'tzc_configure_region' function has no definition MISRAC2012-RULE_8_6-a-2
233:  The 'tzc_get_region_config' function has no definition MISRAC2012-RULE_8_6-a-2
234:  The 'tzc_enable_filters' function has no definition MISRAC2012-RULE_8_6-a-2
235:  The 'tzc_disable_filters' function has no definition MISRAC2012-RULE_8_6-a-2
236:  The 'tzc_set_action' function has no definition MISRAC2012-RULE_8_6-a-2
238:  The 'tzc_fail_dump' function has no definition MISRAC2012-RULE_8_6-a-2
239:  The 'tzc_int_clear' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/initcall.h
22:  Do not use reserved identifiers : __define_initcall MISRAC2012-RULE_21_1-a-2
23:  Each instance of parameter: 'lvl' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
27:  Do not use reserved identifiers : __define_initcall MISRAC2012-RULE_21_1-a-2
28:  Each instance of parameter: 'lvl' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
39:  Each instance of parameter: 'fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
40:  Each instance of parameter: 'fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
41:  Each instance of parameter: 'fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
42:  Each instance of parameter: 'fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
43:  Each instance of parameter: 'fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
44:  Each instance of parameter: 'fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
46:  Each instance of parameter: 'fn' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/io.h
99:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
109:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/keep.h
30:  Do not use reserved identifiers : __DECLARE_KEEP_PAGER2 MISRAC2012-RULE_21_1-a-2
35:  Do not use reserved identifiers : __DECLARE_KEEP_PAGER1 MISRAC2012-RULE_21_1-a-2
35:  Each instance of parameter: 'file_id' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
35:  Each instance of parameter: 'sym' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
36:  Each instance of parameter: 'sym' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
38:  Do not use reserved identifiers : __DECLARE_KEEP_INIT2 MISRAC2012-RULE_21_1-a-2
43:  Do not use reserved identifiers : __DECLARE_KEEP_INIT1 MISRAC2012-RULE_21_1-a-2
43:  Each instance of parameter: 'file_id' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
43:  Each instance of parameter: 'sym' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
44:  Each instance of parameter: 'sym' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/asan.h
6:  Do not use reserved identifiers : __KERNEL_ASAN_H MISRAC2012-RULE_21_1-a-2
20:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-a-2
20:  The identifier 'va_end' shall not be used MISRAC2012-RULE_17_1-b-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/dt.h
58:  Do not use reserved identifiers : __dt_driver MISRAC2012-RULE_21_1-a-2
69:  Reserved name '__dt_driver_start' used MISRAC2012-RULE_21_2-a-2
71:  Reserved name '__dt_driver_end' used MISRAC2012-RULE_21_2-a-2
139:  Reserved name '_fdt_reg_base_address' used MISRAC2012-RULE_21_2-a-2
145:  Reserved name '_fdt_reg_size' used MISRAC2012-RULE_21_2-a-2
152:  Reserved name '_fdt_get_status' used MISRAC2012-RULE_21_2-a-2
162:  Reserved name '_fdt_fill_device_info' used MISRAC2012-RULE_21_2-a-2
216:  Each instance of parameter: 'drv' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
216:  Each instance of parameter: 'drv' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
216:  Each instance of parameter: 'drv' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/early_ta.h
15:  Each instance of parameter: '_ta' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/huk_subkey.h
7:  Do not use reserved identifiers : __KERNEL_HUK_SUBKEY_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/interrupt.h
6:  Do not use reserved identifiers : __KERNEL_INTERRUPT_H MISRAC2012-RULE_21_1-a-2
67:  The 'itr_core_handler' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/ldelf_loader.h
8:  Whole code in file should be secured from multiple inclusion MISRAC2012-DIR_4_10-a-2
17:  The 'ldelf_dump_ftrace' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/ldelf_syscalls.h
12:  Whole code in file should be secured from multiple inclusion MISRAC2012-DIR_4_10-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/linker.h
6:  Do not use reserved identifiers : __KERNEL_LINKER_H MISRAC2012-RULE_21_1-a-2
70:  Reserved name '__vcore_unpg_rx_end' used MISRAC2012-RULE_21_2-a-2
70:  Reserved name '__vcore_unpg_rx_size' used MISRAC2012-RULE_21_2-a-2
70:  Reserved name '__vcore_unpg_rx_start' used MISRAC2012-RULE_21_2-a-2
70:  The '__vcore_unpg_rx_end' object has no definition MISRAC2012-RULE_8_6-a-2
70:  The '__vcore_unpg_rx_size' object has no definition MISRAC2012-RULE_8_6-a-2
70:  The '__vcore_unpg_rx_start' object has no definition MISRAC2012-RULE_8_6-a-2
71:  Reserved name '__vcore_unpg_ro_end' used MISRAC2012-RULE_21_2-a-2
71:  Reserved name '__vcore_unpg_ro_size' used MISRAC2012-RULE_21_2-a-2
71:  Reserved name '__vcore_unpg_ro_start' used MISRAC2012-RULE_21_2-a-2
71:  The '__vcore_unpg_ro_end' object has no definition MISRAC2012-RULE_8_6-a-2
71:  The '__vcore_unpg_ro_size' object has no definition MISRAC2012-RULE_8_6-a-2
71:  The '__vcore_unpg_ro_start' object has no definition MISRAC2012-RULE_8_6-a-2
72:  Reserved name '__vcore_unpg_rw_end' used MISRAC2012-RULE_21_2-a-2
72:  Reserved name '__vcore_unpg_rw_size' used MISRAC2012-RULE_21_2-a-2
72:  Reserved name '__vcore_unpg_rw_start' used MISRAC2012-RULE_21_2-a-2
72:  The '__vcore_unpg_rw_end' object has no definition MISRAC2012-RULE_8_6-a-2
72:  The '__vcore_unpg_rw_size' object has no definition MISRAC2012-RULE_8_6-a-2
72:  The '__vcore_unpg_rw_start' object has no definition MISRAC2012-RULE_8_6-a-2
73:  Reserved name '__vcore_nex_rw_end' used MISRAC2012-RULE_21_2-a-2
73:  Reserved name '__vcore_nex_rw_size' used MISRAC2012-RULE_21_2-a-2
73:  Reserved name '__vcore_nex_rw_start' used MISRAC2012-RULE_21_2-a-2
73:  The '__vcore_nex_rw_end' object has no definition MISRAC2012-RULE_8_6-a-2
73:  The '__vcore_nex_rw_size' object has no definition MISRAC2012-RULE_8_6-a-2
73:  The '__vcore_nex_rw_start' object has no definition MISRAC2012-RULE_8_6-a-2
74:  Reserved name '__vcore_init_ro_end' used MISRAC2012-RULE_21_2-a-2
74:  Reserved name '__vcore_init_ro_size' used MISRAC2012-RULE_21_2-a-2
74:  Reserved name '__vcore_init_ro_start' used MISRAC2012-RULE_21_2-a-2
74:  The '__vcore_init_ro_end' object has no definition MISRAC2012-RULE_8_6-a-2
74:  The '__vcore_init_ro_size' object has no definition MISRAC2012-RULE_8_6-a-2
74:  The '__vcore_init_ro_start' object has no definition MISRAC2012-RULE_8_6-a-2
75:  Reserved name '__vcore_init_rx_end' used MISRAC2012-RULE_21_2-a-2
75:  Reserved name '__vcore_init_rx_size' used MISRAC2012-RULE_21_2-a-2
75:  Reserved name '__vcore_init_rx_start' used MISRAC2012-RULE_21_2-a-2
75:  The '__vcore_init_rx_end' object has no definition MISRAC2012-RULE_8_6-a-2
75:  The '__vcore_init_rx_size' object has no definition MISRAC2012-RULE_8_6-a-2
75:  The '__vcore_init_rx_start' object has no definition MISRAC2012-RULE_8_6-a-2
79:  Reserved name '__text_start' used MISRAC2012-RULE_21_2-a-2
79:  The '__text_start' object has no definition MISRAC2012-RULE_8_6-a-2
80:  Reserved name '__end' used MISRAC2012-RULE_21_2-a-2
80:  The '__end' object has no definition MISRAC2012-RULE_8_6-a-2
82:  Reserved name '__identity_map_init_start' used MISRAC2012-RULE_21_2-a-2
82:  The '__identity_map_init_start' object has no definition MISRAC2012-RULE_8_6-a-2
83:  Reserved name '__identity_map_init_end' used MISRAC2012-RULE_21_2-a-2
83:  The '__identity_map_init_end' object has no definition MISRAC2012-RULE_8_6-a-2
85:  Reserved name '__data_start' used MISRAC2012-RULE_21_2-a-2
85:  The '__data_start' object has no definition MISRAC2012-RULE_8_6-a-2
86:  Reserved name '__data_end' used MISRAC2012-RULE_21_2-a-2
86:  The '__data_end' object has no definition MISRAC2012-RULE_8_6-a-2
87:  Reserved name '__rodata_start' used MISRAC2012-RULE_21_2-a-2
87:  The '__rodata_start' object has no definition MISRAC2012-RULE_8_6-a-2
88:  Reserved name '__rodata_end' used MISRAC2012-RULE_21_2-a-2
88:  The '__rodata_end' object has no definition MISRAC2012-RULE_8_6-a-2
89:  Reserved name '__bss_start' used MISRAC2012-RULE_21_2-a-2
89:  The '__bss_start' object has no definition MISRAC2012-RULE_8_6-a-2
90:  Reserved name '__bss_end' used MISRAC2012-RULE_21_2-a-2
90:  The '__bss_end' object has no definition MISRAC2012-RULE_8_6-a-2
91:  Reserved name '__nozi_start' used MISRAC2012-RULE_21_2-a-2
91:  The '__nozi_start' object has no definition MISRAC2012-RULE_8_6-a-2
92:  Reserved name '__nozi_end' used MISRAC2012-RULE_21_2-a-2
92:  The '__nozi_end' object has no definition MISRAC2012-RULE_8_6-a-2
93:  Reserved name '__nozi_stack_start' used MISRAC2012-RULE_21_2-a-2
93:  The '__nozi_stack_start' object has no definition MISRAC2012-RULE_8_6-a-2
94:  Reserved name '__nozi_stack_end' used MISRAC2012-RULE_21_2-a-2
94:  The '__nozi_stack_end' object has no definition MISRAC2012-RULE_8_6-a-2
95:  Reserved name '__init_start' used MISRAC2012-RULE_21_2-a-2
95:  The '__init_start' object has no definition MISRAC2012-RULE_8_6-a-2
96:  Reserved name '__init_end' used MISRAC2012-RULE_21_2-a-2
96:  The '__init_end' object has no definition MISRAC2012-RULE_8_6-a-2
98:  Reserved name '__heap1_start' used MISRAC2012-RULE_21_2-a-2
98:  The '__heap1_start' object has no definition MISRAC2012-RULE_8_6-a-2
99:  Reserved name '__heap1_end' used MISRAC2012-RULE_21_2-a-2
99:  The '__heap1_end' object has no definition MISRAC2012-RULE_8_6-a-2
100:  Reserved name '__heap2_start' used MISRAC2012-RULE_21_2-a-2
100:  The '__heap2_start' object has no definition MISRAC2012-RULE_8_6-a-2
101:  Reserved name '__heap2_end' used MISRAC2012-RULE_21_2-a-2
101:  The '__heap2_end' object has no definition MISRAC2012-RULE_8_6-a-2
103:  Reserved name '__nex_heap_start' used MISRAC2012-RULE_21_2-a-2
103:  The '__nex_heap_start' object has no definition MISRAC2012-RULE_8_6-a-2
104:  Reserved name '__nex_heap_end' used MISRAC2012-RULE_21_2-a-2
104:  The '__nex_heap_end' object has no definition MISRAC2012-RULE_8_6-a-2
106:  Reserved name '__pageable_part_start' used MISRAC2012-RULE_21_2-a-2
106:  The '__pageable_part_start' object has no definition MISRAC2012-RULE_8_6-a-2
107:  Reserved name '__pageable_part_end' used MISRAC2012-RULE_21_2-a-2
107:  The '__pageable_part_end' object has no definition MISRAC2012-RULE_8_6-a-2
108:  Reserved name '__pageable_start' used MISRAC2012-RULE_21_2-a-2
108:  The '__pageable_start' object has no definition MISRAC2012-RULE_8_6-a-2
109:  Reserved name '__pageable_end' used MISRAC2012-RULE_21_2-a-2
109:  The '__pageable_end' object has no definition MISRAC2012-RULE_8_6-a-2
113:  Reserved name '__asan_shadow_start' used MISRAC2012-RULE_21_2-a-2
113:  The '__asan_shadow_start' object has no definition MISRAC2012-RULE_8_6-a-2
114:  Reserved name '__asan_shadow_end' used MISRAC2012-RULE_21_2-a-2
114:  The '__asan_shadow_end' object has no definition MISRAC2012-RULE_8_6-a-2
115:  Reserved name '__asan_shadow_size' used MISRAC2012-RULE_21_2-a-2
115:  The '__asan_shadow_size' object has no definition MISRAC2012-RULE_8_6-a-2
119:  Reserved name '__asan_map_start' used MISRAC2012-RULE_21_2-a-2
119:  The '__asan_map_start' object has no definition MISRAC2012-RULE_8_6-a-2
120:  Reserved name '__asan_map_end' used MISRAC2012-RULE_21_2-a-2
120:  The '__asan_map_end' object has no definition MISRAC2012-RULE_8_6-a-2
121:  Reserved name '__asan_map_size' used MISRAC2012-RULE_21_2-a-2
121:  The '__asan_map_size' object has no definition MISRAC2012-RULE_8_6-a-2
123:  Reserved name '__ctor_list' used MISRAC2012-RULE_21_2-a-2
123:  The '__ctor_list' object has no definition MISRAC2012-RULE_8_6-a-2
124:  Reserved name '__ctor_end' used MISRAC2012-RULE_21_2-a-2
124:  The '__ctor_end' object has no definition MISRAC2012-RULE_8_6-a-2
127:  Reserved name '__rodata_dtdrv_start' used MISRAC2012-RULE_21_2-a-2
127:  The '__rodata_dtdrv_start' object has no definition MISRAC2012-RULE_8_6-a-2
128:  Reserved name '__rodata_dtdrv_end' used MISRAC2012-RULE_21_2-a-2
128:  The '__rodata_dtdrv_end' object has no definition MISRAC2012-RULE_8_6-a-2
131:  The 'core_v_str' object has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/lockdep.h
7:  Do not use reserved identifiers : __KERNEL_LOCKDEP_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/mutex.h
68:  The identifier 'mutex_unlock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
68:  The identifier 'mutex_unlock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
69:  The identifier 'mutex_lock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
69:  The identifier 'mutex_lock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
70:  The identifier 'mutex_trylock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
70:  The identifier 'mutex_trylock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
71:  The identifier 'mutex_read_unlock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
71:  The identifier 'mutex_read_unlock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
72:  The identifier 'mutex_read_lock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
72:  The identifier 'mutex_read_lock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
73:  The identifier 'mutex_read_trylock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
73:  The identifier 'mutex_read_trylock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
75:  The identifier 'mutex_unlock_recursive' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
75:  The identifier 'mutex_unlock_recursive' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
76:  The identifier 'mutex_lock_recursive' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
76:  The identifier 'mutex_lock_recursive' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
99:  The identifier 'condvar_signal' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
99:  The identifier 'condvar_signal' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
100:  The identifier 'condvar_broadcast' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
100:  The identifier 'condvar_broadcast' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
101:  The identifier 'condvar_wait' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
101:  The identifier 'condvar_wait' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/panic.h
13:  Do not use reserved identifiers : __panic MISRAC2012-RULE_21_1-a-2
13:  Each instance of parameter: 'str' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
15:  Do not use reserved identifiers : __panic MISRAC2012-RULE_21_1-a-2
15:  Each instance of parameter: 'str' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
18:  A tag name 'file' is reused MISRAC2012-RULE_5_7-a-2
18:  Reserved name '__do_panic' used MISRAC2012-RULE_21_2-a-2
18:  The '__do_panic' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
31:  Do not use reserved identifiers : _panic0 MISRAC2012-RULE_21_1-a-2
32:  Do not use reserved identifiers : _panic1 MISRAC2012-RULE_21_1-a-2
33:  Do not use reserved identifiers : _panic_fn MISRAC2012-RULE_21_1-a-2
33:  Each instance of parameter: 'name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/pm.h
7:  Do not use reserved identifiers : __KERNEL_PM_H MISRAC2012-RULE_21_1-a-2
131:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
146:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/pseudo_ta.h
57:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/refcount.h
7:  Do not use reserved identifiers : __KERNEL_REFCOUNT_H MISRAC2012-RULE_21_1-a-2
11:  Do not embed "//" comment marker inside C-style comment: /* * Reference counter * * When val is 0, refcount_inc() does not change the value and returns false. * Otherwise, it increments the value and returns true. * * refcount_dec() decrements the value and returns true when the call * caused the value to become 0, false otherwise. * * Since each call to refcount_dec() is supposed to match a call to * refcount_inc(), refcount_dec() called for val == 0 should never happen. * * This behaviour makes this pattern possible: * if (!refcount_inc(r)) { * mutex_lock(m); * // Some other thread may have initialized o by now so check that * // we still need to initialize o. * if (!o) { * o = initialize(); * refcount_set(r, 1); * } * mutex_unlock(m); * } * * or * if (refcount_dec(r)) { * mutex_lock(m); * // Now that we have the mutex o can't be ininialized/uninitialized * // by any other thread, check that the refcount value is still 0 * // to guard against the thread above already having reinitialized o * if (!refcount_val(r) && o) * uninitialize(o) * mutex_unlock(m); * } * * where r if the reference counter, o is the object and m the mutex * protecting the object. */ MISRAC2012-RULE_3_1-b-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/rpc_io_i2c.h
7:  Do not use reserved identifiers : __RPC_IO_I2C_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/tee_misc.h
15:  Each instance of parameter: 'x' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/tee_ta_manager.h
38:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
71:  A tag name 'ts_ctx' is reused MISRAC2012-RULE_5_7-a-2
 +  167:  Integer overflow: value of (__ptr - 24) will be 18,446,744,073,709,551,592 instead of -24 (result type: 64 bits, unsigned, min: 0, max: 18,446,744,073,709,551,615) MISRAC2012-DIR_4_1-k-2
167:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/time_source.h
1:  Multiple include guard should appear as first #ifndef or #if preprocessor directive MISRAC2012-DIR_4_10-a-2
17:  Each instance of parameter: 'source' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
20:  Reserved name '_time_source' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/timer.h
7:  Do not use reserved identifiers : __TIMER_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/tpm.h
7:  Do not use reserved identifiers : __KERNEL_TPM_H__ MISRAC2012-RULE_21_1-a-2
36:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/ts_manager.h
9:  Do not use reserved identifiers : __KERNEL_TS_MANAGER_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/ts_store.h
7:  Do not use reserved identifiers : __KERNEL_TS_STORE_H MISRAC2012-RULE_21_1-a-2
71:  Each instance of parameter: 'prio' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
82:  Each instance of parameter: 'prio' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/user_access.h
7:  Do not use reserved identifiers : __KERNEL_USER_ACCESS_H MISRAC2012-RULE_21_1-a-2
42:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/user_mode_ctx.h
8:  Do not use reserved identifiers : __KERNEL_USER_MODE_CTX_H MISRAC2012-RULE_21_1-a-2
 +  19:  Condition "is_sp_ctx(...)" always evaluates to false MISRAC2012-RULE_14_3-ac-2
 +  19:  Condition "is_stmm_ctx(...)" always evaluates to false MISRAC2012-RULE_14_3-ac-2
24:  Conditional statement 'if' in a function 'to_user_mode_ctx' should be followed by a block MISRAC2012-RULE_15_6-b-2
 +  26:  Condition "is_sp_ctx(...)" always evaluates to false MISRAC2012-RULE_14_3-ac-2
26:  Conditional statement 'if' in a function 'to_user_mode_ctx' should be followed by a block MISRAC2012-RULE_15_6-b-2
29:  An 'else' statement in a function 'to_user_mode_ctx' shall be followed by a block MISRAC2012-RULE_15_6-b-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/user_mode_ctx_struct.h
8:  Do not use reserved identifiers : __KERNEL_USER_MODE_CTX_STRUCT_H MISRAC2012-RULE_21_1-a-2
32:  A tag name 'vm_info' is reused MISRAC2012-RULE_5_7-a-2
37:  A tag name 'ts_ctx' is reused MISRAC2012-RULE_5_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/user_ta.h
57:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/virtualization.h
23:  The 'virt_guest_created' function has no definition MISRAC2012-RULE_8_6-a-2
36:  The 'virt_guest_destroyed' function has no definition MISRAC2012-RULE_8_6-a-2
48:  The 'virt_set_guest' function has no definition MISRAC2012-RULE_8_6-a-2
58:  The 'virt_unset_guest' function has no definition MISRAC2012-RULE_8_6-a-2
66:  The 'virt_on_stdcall' function has no definition MISRAC2012-RULE_8_6-a-2
78:  The 'virt_init_memory' function has no definition MISRAC2012-RULE_8_6-a-2
83:  The 'virt_get_memory_map' function has no definition MISRAC2012-RULE_8_6-a-2
90:  The 'virt_get_ta_ram' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/wait_queue.h
63:  Reserved name '__wq_rpc' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/mm/file.h
7:  Do not use reserved identifiers : __MM_FILE_H MISRAC2012-RULE_21_1-a-2
23:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
65:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/mm/fobj.h
7:  Do not use reserved identifiers : __MM_FOBJ_H MISRAC2012-RULE_21_1-a-2
41:  An external identifier with the same name 'free' was declared in the 'malloc.h' file in line 11 MISRAC2012-RULE_5_8-a-2
185:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
185:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
187:  Conditional statement 'if' in a function 'fobj_get' should be followed by a block MISRAC2012-RULE_15_6-b-2
187:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
200:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
200:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
202:  Conditional statement 'if' in a function 'fobj_put' should be followed by a block MISRAC2012-RULE_15_6-b-2
202:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/mm/tee_mm.h
19:  Reserved name '_tee_mm_entry_t' used MISRAC2012-RULE_21_2-a-2
27:  Reserved name '_tee_mm_pool_t' used MISRAC2012-RULE_21_2-a-2
63:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-a-2
63:  Expression of pointer type is compared with '0' MISRAC2012-RULE_11_9-b-2
/optee_os_MISRA/optee_os_ruchi393_core/include/mm/tee_mmu_types.h
76:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
94:  Conditional statement 'if' in a function 'mattr_perm_to_str' should be followed by a block MISRAC2012-RULE_15_6-b-2
94:  Operands of the '<' operator have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-a-2
97:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
97:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
98:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
98:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
99:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
100:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
100:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
101:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
101:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
102:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
102:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/mm/vm.h
30:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
30:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
41:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
41:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
65:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
65:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
67:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
67:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
84:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
84:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/optee_msg.h
6:  Do not use reserved identifiers : _OPTEE_MSG_H MISRAC2012-RULE_21_1-a-2
213:  Flexible array member 'params' is declared MISRAC2012-RULE_18_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/optee_rpc_cmd.h
7:  Do not use reserved identifiers : __OPTEE_RPC_CMD_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/rng_support.h
6:  Do not use reserved identifiers : __RNG_SUPPORT_H__ MISRAC2012-RULE_21_1-a-2
10:  The 'hw_get_random_byte' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/scattered_array.h
6:  Do not use reserved identifiers : __SCATTERED_ARRAY_H MISRAC2012-RULE_21_1-a-2
20:  Do not use reserved identifiers : __SCT_ARRAY_DEF_ITEM3 MISRAC2012-RULE_21_1-a-2
26:  Do not use reserved identifiers : __SCT_ARRAY_DEF_PG_ITEM3 MISRAC2012-RULE_21_1-a-2
30:  Do not use reserved identifiers : __SCT_ARRAY_DEF_ITEM2 MISRAC2012-RULE_21_1-a-2
31:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
35:  Do not use reserved identifiers : __SCT_ARRAY_DEF_PG_ITEM2 MISRAC2012-RULE_21_1-a-2
36:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
40:  Do not use reserved identifiers : __SCT_ARRAY_DEF_ITEM1 MISRAC2012-RULE_21_1-a-2
41:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
41:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
41:  Each instance of parameter: 'id' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
41:  Each instance of parameter: 'order' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
43:  Do not use reserved identifiers : __SCT_ARRAY_DEF_PG_ITEM1 MISRAC2012-RULE_21_1-a-2
44:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
44:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
44:  Each instance of parameter: 'id' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
44:  Each instance of parameter: 'order' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
53:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
53:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
53:  Each instance of parameter: 'order' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
62:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
62:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
62:  Each instance of parameter: 'order' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
70:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
70:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
78:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
78:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
114:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
114:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
115:  Each instance of parameter: 'array_name' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
115:  Each instance of parameter: 'element_type' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/signed_hdr.h
52:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
52:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
56:  Conditional statement 'if' in a function 'shdr_get_size' should be followed by a block MISRAC2012-RULE_15_6-b-2
127:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
127:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
129:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
129:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
140:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
140:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/fs_dirfile.h
7:  Do not use reserved identifiers : __TEE_FS_DIRFILE_H MISRAC2012-RULE_21_1-a-2
43:  An external identifier with the same name 'write' was declared in the 'unistd.h' file in line 15 MISRAC2012-RULE_5_8-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/fs_htree.h
7:  Do not use reserved identifiers : __TEE_FS_HTREE_H MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/tadb.h
7:  Do not use reserved identifiers : __TEE_TADB_H MISRAC2012-RULE_21_1-a-2
49:  A tag name 'tee_tadb_ta_write' is reused MISRAC2012-RULE_5_7-a-2
61:  A tag name 'tee_tadb_ta_read' is reused MISRAC2012-RULE_5_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/tee_fs.h
41:  An external identifier with the same name 'write' was declared in the 'unistd.h' file in line 15 MISRAC2012-RULE_5_8-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/tee_svc.h
34:  The 'syscall_sys_return' function has no definition MISRAC2012-RULE_8_6-a-2
38:  The 'syscall_panic' function has no definition MISRAC2012-RULE_8_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/tee_svc_storage.h
68:  The 'tee_svc_storage_init' function has no definition MISRAC2012-RULE_8_6-a-2
75:  The identifier 'tee_svc_storage_create_filename_dfh' has the same first 31 characters of the name as the identifier 'tee_svc_storage_create_filename' defined in the 'tee_svc_storage.h' file in line '71' MISRAC2012-RULE_5_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/uuid.h
7:  Do not use reserved identifiers : __TEE_UUID MISRAC2012-RULE_21_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/assert.c
13:  Reserved name '_assert_log' used MISRAC2012-RULE_21_2-a-2
13:  The '_assert_log' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
26:  Reserved name '_assert_break' used MISRAC2012-RULE_21_2-a-2
26:  The '_assert_break' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
26:  The '_assert_break' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/console.c
21:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
31:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
45:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
65:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
71:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
75:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
82:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
86:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
88:  The argument number '2' ('essentially character' type) is passed to the function 'strchr' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
89:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
96:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
102:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
104:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
105:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
105:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
106:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
107:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
107:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
112:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
112:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
128:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
132:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
136:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
140:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
156:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
156:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
157:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
157:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/dt.c
 +  20:  The "drv" pointer results from a pointer arithmetic operation that is performed on a pointer to a non-array object MISRAC2012-RULE_18_1-c-2
21:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
22:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
25:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
35:  Reserved name '__dt_driver_start' used MISRAC2012-RULE_21_2-a-2
40:  Reserved name '__dt_driver_end' used MISRAC2012-RULE_21_2-a-2
67:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
70:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
81:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
108:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
140:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
140:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
146:  The argument number '3' ('essentially signed' type) is passed to the function 'core_mmu_add_mapping' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
151:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
152:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
158:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
163:  Reserved name '_fdt_read_paddr' used MISRAC2012-RULE_21_2-a-2
184:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
193:  Reserved name '_fdt_reg_base_address' used MISRAC2012-RULE_21_2-a-2
205:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
215:  Reserved name '_fdt_reg_size' used MISRAC2012-RULE_21_2-a-2
228:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
243:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
249:  The expression of the 'essentially unsigned' type is returned from function '_fdt_reg_size' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
254:  The argument number '3' ('essentially signed' type) is passed to the function 'strncmp' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
254:  The argument number '3' ('essentially signed' type) is passed to the function 'strncmp' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
254:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
254:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
257:  Reserved name '_fdt_get_status' used MISRAC2012-RULE_21_2-a-2
264:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
270:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
275:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
285:  Identifiers given in declaration of '_fdt_fill_device_info' function (file: 'dt.h', line: '162') are: 'node' not: 'offs' MISRAC2012-RULE_8_3-b-2
285:  Reserved name '_fdt_fill_device_info' used MISRAC2012-RULE_21_2-a-2
297:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
303:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
308:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/handle.c
20:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
21:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
24:  'for' statement in a function 'handle_db_destroy' should be followed by a block MISRAC2012-RULE_15_6-a-2
25:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
28:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
28:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
38:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
40:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
53:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
53:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
58:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
60:  The expression of the 'essentially unsigned' type is returned from function 'handle_get' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
65:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
69:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
69:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
70:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
73:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
79:  The expression of the 'essentially unsigned' type is returned from function 'handle_get' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
86:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
96:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/huk_subkey.c
27:  'for' statement in a function 'get_dummy_die_id' should be followed by a block MISRAC2012-RULE_15_6-a-2
28:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
47:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
51:  The argument number '2' ('essentially Enum' type) is passed to the function 'mac_usage' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
66:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
67:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
67:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
68:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
71:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
75:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
79:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
87:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
90:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
92:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
98:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/initcall.c
15:  The 'call_initcalls' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
20:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
20:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
20:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
 +  20:  Two unrelated pointers "call" and "__scattered_array_end" are compared MISRAC2012-DIR_4_1-j-2
 +  20:  Two unrelated pointers "call" and "__scattered_array_end" are compared MISRAC2012-RULE_18_3-a-2
34:  The 'call_finalcalls' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
39:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
39:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
39:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
 +  39:  Two unrelated pointers "call" and "__scattered_array_end" are compared MISRAC2012-DIR_4_1-j-2
 +  39:  Two unrelated pointers "call" and "__scattered_array_end" are compared MISRAC2012-RULE_18_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/interrupt.c
19:  A tag name 'itr_chip' is reused MISRAC2012-RULE_5_7-a-2
23:  Identifiers given in declaration of 'itr_init' function (file: 'interrupt.h', line: '43') are: 'data' not: 'chip' MISRAC2012-RULE_8_3-b-2
33:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
37:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
37:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
48:  Identifiers given in declaration of 'itr_add' function (file: 'interrupt.h', line: '46') are: 'handler' not: 'h' MISRAC2012-RULE_8_3-b-2
52:  'for' statement in a function 'itr_add' should be followed by a block MISRAC2012-RULE_15_6-a-2
52:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
54:  Potential macro 'ITRF_SHARED' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
54:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
54:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
55:  Potential macro 'ITRF_SHARED' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
87:  The 'itr_core_handler' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
87:  The 'itr_core_handler' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/ldelf_syscalls.c
36:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
36:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
40:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
41:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
43:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
46:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
46:  Reserved name '__roundup_x' used MISRAC2012-RULE_21_2-a-2
46:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
46:  The argument number '1' (8 byte essential type) is passed to the function 'fobj_sec_mem_alloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
46:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
46:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
47:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
48:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
51:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
52:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
76:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
79:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
81:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
82:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
92:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
92:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
96:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
96:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
108:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
112:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
115:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
119:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
122:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
126:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
128:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
129:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
129:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
130:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
131:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
135:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
135:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
136:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
137:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
140:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
140:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
140:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
147:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
148:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
152:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
152:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
152:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
159:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
160:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
164:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
167:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
171:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
174:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
177:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
183:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
188:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
201:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
202:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
204:  The argument number '2' ('essentially unsigned' type) is passed to the function 'handle_put' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
205:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
206:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
215:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
215:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
229:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
232:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
237:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
245:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
246:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
248:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
251:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
252:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
273:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
273:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
281:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
282:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
284:  The argument number '2' ('essentially unsigned' type) is passed to the function 'handle_lookup' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
285:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
286:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
289:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
291:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
291:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
293:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
295:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
295:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
297:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
299:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
300:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
303:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
305:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
308:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
309:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
309:  Reserved name '__roundup_tmp' used MISRAC2012-RULE_21_2-a-2
309:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
309:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
309:  Unused function's "__builtin_add_overflow" return value MISRAC2012-RULE_17_7-b-2
310:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
311:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
326:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
330:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
335:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
336:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
341:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
342:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
349:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
352:  The argument number '1' (8 byte essential type) is passed to the function 'fobj_sec_mem_alloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
356:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
357:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
360:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
367:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
368:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
375:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
378:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
382:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
391:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
393:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
403:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
429:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
431:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
432:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
435:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
436:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
438:  The argument number '2' ('essentially unsigned' type) is passed to the function 'handle_lookup' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
439:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
440:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
442:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
459:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
460:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
462:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
472:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
475:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
477:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
478:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
485:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
485:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
487:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
502:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
504:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
505:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
519:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
521:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
522:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
537:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
539:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
539:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/msg_param.c
66:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
66:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
71:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
79:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
83:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
85:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
91:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
93:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
98:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
102:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
105:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
118:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
118:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
132:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
132:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
133:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
147:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
147:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/mutex.c
25:  Reserved name '__mutex_lock' used MISRAC2012-RULE_21_2-a-2
28:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
49:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
69:  Reserved name '__mutex_lock_recursive' used MISRAC2012-RULE_21_2-a-2
85:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
90:  Reserved name '__mutex_unlock' used MISRAC2012-RULE_21_2-a-2
95:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
101:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
111:  Reserved name '__mutex_unlock_recursive' used MISRAC2012-RULE_21_2-a-2
127:  Reserved name '__mutex_trylock' used MISRAC2012-RULE_21_2-a-2
134:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
138:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
150:  Reserved name '__mutex_read_unlock' used MISRAC2012-RULE_21_2-a-2
156:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
168:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
172:  Reserved name '__mutex_read_lock' used MISRAC2012-RULE_21_2-a-2
175:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
214:  Reserved name '__mutex_read_trylock' used MISRAC2012-RULE_21_2-a-2
221:  Potential macro 'THREAD_ID_INVALID' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
278:  The identifier 'mutex_unlock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
278:  The identifier 'mutex_unlock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
283:  The identifier 'mutex_unlock_recursive' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
283:  The identifier 'mutex_unlock_recursive' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
288:  The identifier 'mutex_lock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
288:  The identifier 'mutex_lock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
293:  The identifier 'mutex_lock_recursive' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
293:  The identifier 'mutex_lock_recursive' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
298:  The identifier 'mutex_trylock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
298:  The identifier 'mutex_trylock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
303:  The identifier 'mutex_read_unlock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
303:  The identifier 'mutex_read_unlock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
308:  The identifier 'mutex_read_lock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
308:  The identifier 'mutex_read_lock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
313:  The identifier 'mutex_read_trylock' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
313:  The identifier 'mutex_read_trylock' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
325:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
352:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
368:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
385:  The identifier 'condvar_signal' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
385:  The identifier 'condvar_signal' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
390:  The identifier 'condvar_broadcast' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
390:  The identifier 'condvar_broadcast' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
396:  Reserved name '__condvar_wait' used MISRAC2012-RULE_21_2-a-2
408:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
416:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
434:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
452:  The identifier 'condvar_wait' has the same name (or the first 31 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-a-2
452:  The identifier 'condvar_wait' has the same name (or the first 63 characters of the name) as the macro defined in the current translation unit MISRAC2012-RULE_5_5-b-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/panic.c
12:  Reserved name '__do_panic' used MISRAC2012-RULE_21_2-a-2
12:  The '__do_panic' function should not be declared with the '_Noreturn' specifier MISRAC2012-RULE_1_4-b-2
18:  The argument number '1' ('essentially signed' type) is passed to the function 'thread_mask_exceptions' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
23:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
23:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
23:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
26:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
26:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
26:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
26:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
33:  'while' statement in a function '__do_panic' should be followed by a block MISRAC2012-RULE_15_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/pm.c
21:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
 +  21:  Condition "is_unpaged((void *)(vaddr_t)pm_change_state) && (!is_unpaged...ed(pm_hdl->handle)))" always evaluates to false MISRAC2012-RULE_14_3-ac-2
 +  21:  Condition "is_unpaged(...)" always evaluates to true MISRAC2012-RULE_14_3-ac-2
21:  Pointer to function 'TEE_Result (*)(enum pm_op, uint32_t)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
22:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
 +  22:  Condition "!is_unpaged(...)" always evaluates to false MISRAC2012-RULE_14_3-ac-2
22:  Pointer to function 'TEE_Result (*)(enum pm_op, uint32_t, const struct pm_callback_handle *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
 +  23:  Condition "!is_unpaged(...)" always evaluates to false MISRAC2012-RULE_14_3-ac-2
23:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
24:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
24:  Pointer to function 'TEE_Result (*)(enum pm_op, uint32_t, const struct pm_callback_handle *)' should not be cast to other type MISRAC2012-RULE_11_1-a-2
30:  Identifiers given in declaration of 'register_pm_cb' function (file: 'pm.h', line: '119') are: 'pm_handle' not: 'pm_hdl' MISRAC2012-RULE_8_3-b-2
37:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
37:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
38:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
55:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
55:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
61:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
80:  The operand of the '++' operator has essentially enum type: pm_callback_order MISRAC2012-RULE_10_1-d-2
82:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
87:  The operand of the '--' operator has essentially enum type: pm_callback_order MISRAC2012-RULE_10_1-d-2
88:  The argument number '3' ('essentially unsigned' type) is passed to the function 'call_callbacks' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
88:  The left hand operand of the '-' operator has essentially enum type: pm_callback_order MISRAC2012-RULE_10_1-d-2
89:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
93:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
93:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/pseudo_ta.c
47:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
47:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
77:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
78:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
81:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
85:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
86:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
87:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
88:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
90:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
96:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
99:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
124:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
124:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
139:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
155:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
161:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
165:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
179:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
186:  Unused function's "ts_pop_current_session" return value MISRAC2012-RULE_17_7-a-2
200:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
214:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
219:  Unused function's "ts_pop_current_session" return value MISRAC2012-RULE_17_7-a-2
230:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
233:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
236:  Unused function's "ts_pop_current_session" return value MISRAC2012-RULE_17_7-a-2
241:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
241:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
257:  Function 'verify_pseudo_tas_conformance' should have return at the end of each execution path MISRAC2012-RULE_17_4-a-1
 +  265:  The "pta" pointer that results from a pointer arithmetic operation points 2 element beyond the end of array of size 0 MISRAC2012-RULE_18_1-c-2
 +  265:  Two unrelated pointers "pta" and "end" are compared MISRAC2012-DIR_4_1-j-2
 +  265:  Two unrelated pointers "pta" and "end" are compared MISRAC2012-RULE_18_3-a-2
 +  269:  The "pta2" pointer that results from a pointer arithmetic operation points 2 element beyond the end of array of size 0 MISRAC2012-RULE_18_1-c-2
 +  269:  Two unrelated pointers "pta2" and "end" are compared MISRAC2012-DIR_4_1-j-2
 +  269:  Two unrelated pointers "pta2" and "end" are compared MISRAC2012-RULE_18_3-a-2
270:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
270:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
270:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
274:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
274:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
277:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
286:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
301:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
303:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
 +  303:  Two unrelated pointers "ta" and "__scattered_array_end" are compared MISRAC2012-DIR_4_1-j-2
 +  303:  Two unrelated pointers "ta" and "__scattered_array_end" are compared MISRAC2012-RULE_18_3-a-2
305:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
306:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
306:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
313:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
313:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
314:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
315:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/ree_fs_ta.c
61:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
63:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
83:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
83:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
88:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
88:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
88:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
88:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
89:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
101:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
102:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
105:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
111:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
132:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
132:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
133:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
133:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
142:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
142:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
143:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
144:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
153:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
164:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
189:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
193:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
193:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
194:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
195:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
199:  In the call of the function 'memcpy' the first argument type 'shdr_bootstrap_ta*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
199:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
208:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
208:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
208:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
209:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
226:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
230:  In the call of the function 'memcpy' the first argument type 'shdr_encrypted_ta*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
230:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
232:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
232:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
232:  Reserved name '_x' used MISRAC2012-RULE_21_2-a-2
233:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
234:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
238:  In the call of the function 'memcpy' the first argument type 'shdr_encrypted_ta*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
238:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
239:  Reserved name '_x' used MISRAC2012-RULE_21_2-a-2
242:  Reserved name '_x' used MISRAC2012-RULE_21_2-a-2
251:  Reserved name '_x' used MISRAC2012-RULE_21_2-a-2
256:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
266:  The expression of type 'struct ree_fs_ta_handle *' should not be cast to pointer to incomplete type 'struct ts_store_handle *' MISRAC2012-RULE_11_2-a-2
274:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
274:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
275:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
275:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
277:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
277:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
284:  Cast from 'const struct ts_store_handle *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
284:  Pointer to incomplete type 'const struct ts_store_handle *' should not be cast to type 'struct ree_fs_ta_handle *' MISRAC2012-RULE_11_2-a-2
293:  Cast from 'const struct ts_store_handle *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
293:  Pointer to incomplete type 'const struct ts_store_handle *' should not be cast to type 'struct ree_fs_ta_handle *' MISRAC2012-RULE_11_2-a-2
295:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
297:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
301:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
311:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
311:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
312:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
313:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
316:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
319:  In the call of the function 'memcmp' the first argument type 'void*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
319:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
319:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'void' MISRAC2012-RULE_21_16-a-2
320:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
322:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
322:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
338:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
345:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
348:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
362:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
363:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
375:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
376:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
380:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
388:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
390:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
419:  Pointer to incomplete type 'struct ts_store_handle *' should not be cast to type 'struct ree_fs_ta_handle *' MISRAC2012-RULE_11_2-a-2
428:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
431:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
436:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
439:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
439:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
440:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
440:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
442:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
443:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
447:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
447:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
451:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
457:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
461:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
461:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
463:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
465:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
465:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
467:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
470:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
473:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
486:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
496:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
504:  Pointer to incomplete type 'struct ts_store_handle *' should not be cast to type 'struct ree_fs_ta_handle *' MISRAC2012-RULE_11_2-a-2
506:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
510:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
510:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
511:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
511:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
512:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
512:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
513:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
513:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
517:  Declaration of object '__tee_ta_store_9' does not precede its definition MISRAC2012-RULE_8_4-a-2
517:  Reserved name '__scattered_array_0ta_stores' used MISRAC2012-RULE_21_2-a-2
517:  Reserved name '__tee_ta_store_9' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/refcount.c
19:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
37:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
45:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/secstor_ta.c
20:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
26:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
29:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
33:  Pointer to incomplete type 'struct tee_tadb_ta_read *' should not be cast to type 'struct ts_store_handle *' MISRAC2012-RULE_11_2-a-2
44:  Cast from 'const struct ts_store_handle *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
44:  Pointer to incomplete type 'const struct ts_store_handle *' should not be cast to type 'struct tee_tadb_ta_read *' MISRAC2012-RULE_11_2-a-2
55:  Cast from 'const struct ts_store_handle *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
55:  Pointer to incomplete type 'const struct ts_store_handle *' should not be cast to type 'struct tee_tadb_ta_read *' MISRAC2012-RULE_11_2-a-2
61:  Pointer to incomplete type 'struct ts_store_handle *' should not be cast to type 'struct tee_tadb_ta_read *' MISRAC2012-RULE_11_2-a-2
65:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
68:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
75:  Pointer to incomplete type 'struct ts_store_handle *' should not be cast to type 'struct tee_tadb_ta_read *' MISRAC2012-RULE_11_2-a-2
80:  Declaration of object '__tee_ta_store_4' does not precede its definition MISRAC2012-RULE_8_4-a-2
80:  Reserved name '__scattered_array_0ta_stores' used MISRAC2012-RULE_21_2-a-2
80:  Reserved name '__tee_ta_store_4' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/tee_misc.c
16:  The expression of the 'essentially signed' type is returned from function 'tee_b2hs_add_base' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
18:  The expression of the 'essentially signed' type is returned from function 'tee_b2hs_add_base' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
27:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
29:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
42:  The argument number '1' ('essentially signed' type) is passed to the function 'tee_b2hs_add_base' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
61:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
63:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
78:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
78:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/tee_ta_manager.c
69:  'while' statement in a function 'lock_single_instance' should be followed by a block MISRAC2012-RULE_15_6-a-2
102:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
105:  Function 'ts_to_ta_ctx' should have return at the end of each execution path MISRAC2012-RULE_17_4-a-1
120:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
125:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
136:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
144:  'while' statement in a function 'tee_ta_try_set_busy' should be followed by a block MISRAC2012-RULE_15_6-a-2
163:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
172:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
186:  Identifiers given in declaration of 'tee_ta_put_session' function (file: 'tee_ta_manager.h', line: '141') are: 'sess' not: 's' MISRAC2012-RULE_8_3-b-2
205:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
238:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
250:  'while' statement in a function 'tee_ta_get_session' should be followed by a block MISRAC2012-RULE_15_6-a-2
279:  'while' statement in a function 'tee_ta_unlink_session' should be followed by a block MISRAC2012-RULE_15_6-a-2
303:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
303:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
321:  A tag name 'ts_ctx' is reused MISRAC2012-RULE_5_7-a-2
321:  Identifier 'ts_ctx' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
340:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
352:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
356:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
384:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
385:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
385:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
399:  Integer constant '0xF0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
401:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
406:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_Identity' MISRAC2012-RULE_21_16-a-2
406:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_Identity' MISRAC2012-RULE_21_16-a-2
408:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
472:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
503:  Identifiers given in declaration of 'tee_ta_close_session' function (file: 'tee_ta_manager.h', line: '129') are: 'sess' not: 'csess' MISRAC2012-RULE_8_3-b-2
509:  A tag name 'ts_ctx' is reused MISRAC2012-RULE_5_7-a-2
509:  Identifier 'ts_ctx' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
515:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
516:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
520:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
523:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
528:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
534:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
540:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
544:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
556:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
556:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
558:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
576:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
577:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
598:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
604:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
604:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
605:  Integer constant '0xFFFF000D' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
621:  Pointer to object type 'struct tee_ta_session **' is cast to pointer to different object type 'struct tee_ta_session_head *' MISRAC2012-RULE_11_3-a-2
622:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
 +  625:  Condition "!id" always evaluates to false MISRAC2012-RULE_14_3-ac-2
625:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
631:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
634:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
647:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
647:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
650:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
651:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
661:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
662:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
671:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
676:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
681:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
688:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
697:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
697:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
712:  A tag name 'ts_ctx' is reused MISRAC2012-RULE_5_7-a-2
712:  Identifier 'ts_ctx' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
723:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
726:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
729:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
729:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
731:  Unused function's "tee_ta_close_session" return value MISRAC2012-RULE_17_7-a-2
733:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
747:  Integer constant '0xFFFF000D' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
751:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
756:  Unused function's "tee_ta_close_session" return value MISRAC2012-RULE_17_7-a-2
780:  A tag name 'ts_ctx' is reused MISRAC2012-RULE_5_7-a-2
780:  Identifier 'ts_ctx' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
784:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
787:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
790:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
793:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
797:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
801:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
813:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
816:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
822:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
835:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
856:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/ts_manager.c
21:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
25:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
38:  Identifiers given in declaration of 'ts_push_current_session' function (file: 'ts_manager.h', line: '59') are: 'sess' not: 's' MISRAC2012-RULE_8_3-b-2
51:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
62:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
76:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/user_access.c
25:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
26:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
28:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
29:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
36:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
37:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
39:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
40:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
48:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
50:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
51:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
59:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
61:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
62:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
76:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
76:  Potential macro 'UINT32_MAX' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
76:  Potential macro 'VCORE_START_VA' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
77:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
77:  The expression of the 'unsigned long' essential type (8 byte) is returned from the function 'kaddr_to_uref' with a narrower essential return type (4 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/user_mode_ctx.c
10:  Identifiers given in declaration of 'user_mode_ctx_print_mappings' function (file: 'user_mode_ctx.h', line: '32') are: 'umctx' not: 'uctx' MISRAC2012-RULE_8_3-b-2
16:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
19:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
20:  Unused function's "mobj_get_pa" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/user_ta.c
66:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
100:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
101:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
104:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
104:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
127:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
144:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
147:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
161:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
164:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
166:  The argument number '1' ('essentially Enum' type) is passed to the function 'thread_enter_user_mode' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
174:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
178:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
187:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
229:  Unused function's "user_ta_enter" return value MISRAC2012-RULE_17_7-a-2
241:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
244:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
244:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
348:  Unused function's "tee_ta_close_session" return value MISRAC2012-RULE_17_7-a-2
360:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
360:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
393:  Reserved name '_user_ta_ops' used MISRAC2012-RULE_21_2-a-2
401:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
410:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
417:  'for' statement in a function 'check_ta_store' should be followed by a block MISRAC2012-RULE_15_6-a-2
417:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
417:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
417:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
 +  417:  Two unrelated pointers "op" and "__scattered_array_end" are compared MISRAC2012-DIR_4_1-j-2
 +  417:  Two unrelated pointers "op" and "__scattered_array_end" are compared MISRAC2012-RULE_18_3-a-2
422:  Reserved name '__scattered_array_1initcall' used MISRAC2012-RULE_21_2-a-2
430:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
430:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
431:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
432:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
452:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
473:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
476:  Unused function's "ts_pop_current_session" return value MISRAC2012-RULE_17_7-a-2
480:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
493:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/kernel/wait_queue.c
27:  Reserved name '__wq_rpc' used MISRAC2012-RULE_21_2-a-2
27:  The '__wq_rpc' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
 +  31:  Value of "cmd_str" is never used MISRAC2012-RULE_2_2-b-2
34:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
40:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
53:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
54:  'while' statement in a function 'slist_add_tail' should be followed by a block MISRAC2012-RULE_15_6-a-2
54:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
90:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
91:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
92:  'while' statement in a function 'wq_wait_final' should be followed by a block MISRAC2012-RULE_15_6-a-2
95:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
117:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
118:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
155:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
166:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
168:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
192:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/mm/file.c
59:  'for' statement in a function 'file_find_tag_unlocked' should be followed by a block MISRAC2012-RULE_15_6-a-2
59:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
60:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
75:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
75:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
78:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
78:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
81:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
81:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
88:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
89:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
91:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
92:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
93:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
96:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
99:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
100:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
111:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
148:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
151:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
151:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
152:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
169:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
183:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
185:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/mm/fobj.c
78:  Potential macro 'TAILQ_EMPTY' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
207:  Potential macro 'TAILQ_EMPTY' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
313:  Potential macro 'TAILQ_EMPTY' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
366:  Potential macro 'SMALL_PAGE_SIZE' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
534:  Potential macro 'ALIGNMENT_IS_OK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
586:  Potential macro 'ALIGNMENT_IS_OK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
587:  Potential macro 'ALIGNMENT_IS_OK' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
721:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
728:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
728:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
732:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
739:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
743:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
746:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
754:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
754:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
759:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
759:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
763:  Reserved name '__ptr' used MISRAC2012-RULE_21_2-a-2
766:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
766:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
770:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
772:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
772:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
775:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
775:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
779:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
782:  Essential type of LHS operand (64 bit) is wider than essential type of composite expression in RHS operand (32 bit) MISRAC2012-RULE_10_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/mm/vm.c
65:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
76:  Do not use expressions with side effects in the right-hand operand of a logical '||' operator MISRAC2012-RULE_13_5-a-2
79:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
79:  Reserved name '__roundup_tmp' used MISRAC2012-RULE_21_2-a-2
79:  Unused function's "__builtin_add_overflow" return value MISRAC2012-RULE_17_7-b-2
82:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
88:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
98:  Do not use expressions with side effects in the right-hand operand of a logical '||' operator MISRAC2012-RULE_13_5-a-2
101:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
101:  Reserved name '__roundup_tmp' used MISRAC2012-RULE_21_2-a-2
101:  Unused function's "__builtin_add_overflow" return value MISRAC2012-RULE_17_7-b-2
105:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
125:  Pointer to object type 'struct vm_region **' is cast to pointer to different object type 'struct vm_region_head *' MISRAC2012-RULE_11_3-a-2
131:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
133:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
 +  140:  Value of "tsd" is never used MISRAC2012-RULE_2_2-b-2
148:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
168:  A tag name 'pgt_cache' is reused MISRAC2012-RULE_5_7-a-2
168:  Identifier 'pgt_cache' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
186:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
187:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
187:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
189:  Pointer to object type 'struct vm_region **' is cast to pointer to different object type 'struct vm_region_head *' MISRAC2012-RULE_11_3-a-2
190:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
191:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
191:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
220:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
221:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
225:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
227:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
229:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
229:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
231:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
234:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
237:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
245:  Pointer to object type 'struct vm_region **' is cast to pointer to different object type 'struct vm_region_head *' MISRAC2012-RULE_11_3-a-2
246:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
250:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
256:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
260:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
260:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
268:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
269:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
271:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
271:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
272:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
273:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
279:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
291:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
292:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
295:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
299:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
303:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
303:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
305:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
306:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
312:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
331:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
331:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
335:  A tag name 'vm_info' is reused MISRAC2012-RULE_5_7-a-2
335:  Identifier 'vm_info' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
339:  'for' statement in a function 'find_vm_region' should be followed by a block MISRAC2012-RULE_15_6-a-2
339:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
364:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
368:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
380:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
382:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
382:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
383:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
384:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
389:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
390:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
390:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
420:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
421:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
424:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
431:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
432:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
440:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
447:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
448:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
451:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
469:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
469:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
469:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
471:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
498:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
498:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
518:  Value 37 is out of acceptable range: 'lower than 30' METRIC.CC-3
528:  A tag name 'fobj' is reused MISRAC2012-RULE_5_7-a-2
528:  Identifier 'fobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
533:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
533:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
534:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
537:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
542:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
546:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
546:  The third clause of a 'for' statement contains an object that is modified in the 'for' loop body MISRAC2012-RULE_14_2-d-2
565:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
573:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
575:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
577:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
577:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
580:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
595:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
595:  The third clause of a 'for' statement contains an object that is modified in the 'for' loop body MISRAC2012-RULE_14_2-d-2
598:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
624:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
626:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
628:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
628:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
649:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
649:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
650:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
653:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
654:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
657:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
677:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
677:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
678:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
681:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
682:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
685:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
703:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
703:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
704:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
707:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
710:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
713:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
720:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
728:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
735:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
736:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
736:  Unused function's "cache_op_inner" return value MISRAC2012-RULE_17_7-a-2
742:  Unused function's "cache_op_inner" return value MISRAC2012-RULE_17_7-a-2
753:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
753:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
767:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
767:  Reserved name '__roundup_tmp' used MISRAC2012-RULE_21_2-a-2
767:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
767:  Unused function's "__builtin_add_overflow" return value MISRAC2012-RULE_17_7-b-2
768:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
770:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
770:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
771:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
774:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
777:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
785:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
796:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
796:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
802:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
805:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
810:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
822:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
824:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
827:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
832:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
842:  Do not use expressions with side effects in the right-hand operand of a logical '&&' operator MISRAC2012-RULE_13_5-a-2
842:  The second clause of a 'for' statement contains an expression that has a persistent side effect MISRAC2012-RULE_14_2-c-2
843:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
854:  'for' statement in a function 'check_param_map_empty' should be followed by a block MISRAC2012-RULE_15_6-a-2
854:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
855:  Potential macro 'VM_FLAG_EPHEMERAL' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
855:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
863:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
867:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
880:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
883:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
893:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
893:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
895:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
897:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
900:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
900:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
900:  The left hand operand of the '<' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
900:  The left hand operand of the '>' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
900:  The right hand operand of the '<' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
900:  The right hand operand of the '>' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
901:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
904:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
904:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
905:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
908:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
908:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
909:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
912:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
912:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
923:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
944:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
956:  Usage of 'qsort' function is not allowed MISRAC2012-RULE_21_9-a-2
958:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
958:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
975:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
987:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
998:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1009:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1015:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
1015:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1019:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
1019:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
1021:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1022:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1034:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1035:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
1035:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
1040:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1048:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
1048:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1052:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1063:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1070:  'while' statement in a function 'vm_info_final' should be followed by a block MISRAC2012-RULE_15_6-a-2
1073:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
1082:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1083:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1085:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1098:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1099:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1101:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1110:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
1110:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
1114:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1115:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1117:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1123:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1128:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1136:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1137:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1141:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1155:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
1155:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
1157:  Potential macro 'IS_POWER_OF_TWO' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1157:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1160:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1166:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
1168:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1174:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1187:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1193:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1198:  Potential macro 'IS_POWER_OF_TWO' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
1198:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1200:  The loop counter is modified inside the 'for' loop body MISRAC2012-RULE_14_2-a-2
1200:  The second clause of a 'for' statement contains an object that is modified inside the loop body: 'ofs' MISRAC2012-RULE_14_2-c-2
1200:  The third clause of a 'for' statement contains an object that is modified in the 'for' loop body MISRAC2012-RULE_14_2-d-2
1202:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1212:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1221:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1238:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1240:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1240:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1242:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1248:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1249:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1250:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1256:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1260:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1260:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1262:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1264:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1265:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1266:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1268:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1268:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1269:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
1270:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1270:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1271:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  1290:  The return value of the "is_user_ta_ctx" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/pta/device.c
26:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
26:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
32:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
36:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
54:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
56:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
57:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
62:  'for' statement in a function 'get_devices' should be followed by a block MISRAC2012-RULE_15_6-a-2
62:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
62:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
62:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
 +  62:  Two unrelated pointers "ta" and "__scattered_array_end" are compared MISRAC2012-DIR_4_1-j-2
 +  62:  Two unrelated pointers "ta" and "__scattered_array_end" are compared MISRAC2012-RULE_18_3-a-2
65:  Unreachable code inside 'if' block MISRAC2012-RULE_2_1-c-2
66:  'for' statement in a function 'get_devices' should be followed by a block MISRAC2012-RULE_15_6-a-2
66:  More than one variable is declared in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
66:  Reserved name '__scattered_array_begin' used MISRAC2012-RULE_21_2-a-2
66:  Reserved name '__scattered_array_end' used MISRAC2012-RULE_21_2-a-2
72:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
84:  The argument number '3' ('essentially signed' type) is passed to the function 'get_devices' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
87:  The argument number '3' ('essentially signed' type) is passed to the function 'get_devices' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
89:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
89:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
92:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
95:  Reserved name '__scattered_array_0pseudo_tas' used MISRAC2012-RULE_21_2-a-2
95:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/pta/secstor_ta_mgmt.c
27:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
29:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
34:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
40:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
40:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
47:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
53:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
56:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
59:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
61:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
61:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
62:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
63:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
71:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
74:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
77:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
81:  In the call of the function 'memcpy' the first argument type 'shdr_bootstrap_ta*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
 +  81:  The return value of the "shdr_get_size" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
81:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
85:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
89:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
93:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
94:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
94:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
94:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
94:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
98:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
102:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
106:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
106:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
108:  In the call of the function 'memcpy' the first argument type 'void*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
108:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
110:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
113:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
119:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
121:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
122:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
127:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
127:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
135:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
135:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
143:  A tag name 'shdr' is reused MISRAC2012-RULE_5_7-a-2
143:  Identifier 'shdr' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
144:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
150:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
153:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
157:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
174:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
174:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
176:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
179:  Reserved name '__scattered_array_0pseudo_tas' used MISRAC2012-RULE_21_2-a-2
179:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/pta/stats.c
45:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
50:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
52:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
53:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
58:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
64:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
70:  Unused function's "strlcpy" return value MISRAC2012-RULE_17_7-a-2
71:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
81:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
82:  Unused function's "strlcpy" return value MISRAC2012-RULE_17_7-a-2
113:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
117:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
118:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
119:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
120:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
121:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
122:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
133:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
156:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
156:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
158:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
161:  Integer constant '0xd96a5b40' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
161:  Reserved name '__scattered_array_0pseudo_tas' used MISRAC2012-RULE_21_2-a-2
161:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/pta/system.c
40:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
46:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
50:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
51:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
63:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
66:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
72:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
77:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
87:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
90:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
93:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
97:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
99:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
99:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
100:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
101:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
103:  In the call of the function 'memcpy' the first argument type is not compatible with the second argument type MISRAC2012-RULE_21_15-a-2
103:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
106:  In the call of the function 'memcpy' the first argument type 'unsigned char*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
106:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
121:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
126:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
127:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
127:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
136:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
137:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
138:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
140:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
148:  Reserved name '__roundup_mask' used MISRAC2012-RULE_21_2-a-2
148:  Reserved name '__roundup_x' used MISRAC2012-RULE_21_2-a-2
148:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
148:  The argument number '1' (8 byte essential type) is passed to the function 'fobj_sec_mem_alloc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
148:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
148:  The first operand of the conditional operator '?:' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
149:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
150:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
153:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
158:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
167:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
178:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
180:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
181:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
184:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
193:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
196:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
198:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
199:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
208:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
212:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
218:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
221:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
222:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
236:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
240:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
248:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
251:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
252:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
255:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
256:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
263:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
272:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
280:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
284:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
292:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
296:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
300:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
321:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
322:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
324:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
354:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
354:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
357:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
360:  Reserved name '__scattered_array_0pseudo_tas' used MISRAC2012-RULE_21_2-a-2
360:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/fs_dirfile.c
47:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
47:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
47:  Left-hand operand of right-shift operator is an expression of ' int' type MISRAC2012-RULE_1_3-o-2
47:  The argument number '2' ('essentially signed' type) is passed to the function 'realloc' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
48:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
49:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
52:  'while' statement in a function 'maybe_grow_files' should be followed by a block MISRAC2012-RULE_15_6-a-2
52:  Left-hand operand of right-shift operator is a variable '_start' of 'signed int' type MISRAC2012-RULE_1_3-o-2
52:  Left-hand operand of right-shift operator is a variable '_stop' of 'signed int' type MISRAC2012-RULE_1_3-o-2
52:  Reserved name '_name' used MISRAC2012-RULE_21_2-a-2
52:  Reserved name '_start' used MISRAC2012-RULE_21_2-a-2
52:  Reserved name '_startbyte' used MISRAC2012-RULE_21_2-a-2
52:  Reserved name '_stop' used MISRAC2012-RULE_21_2-a-2
52:  Reserved name '_stopbyte' used MISRAC2012-RULE_21_2-a-2
52:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
52:  The right hand operand of the shift operator '>>' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
62:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
63:  Left-hand operand of right-shift operator is a variable 'idx' of 'signed int' type MISRAC2012-RULE_1_3-o-2
63:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
71:  Left-hand operand of right-shift operator is a variable 'idx' of 'signed int' type MISRAC2012-RULE_1_3-o-2
71:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
77:  Left-hand operand of right-shift operator is a variable 'idx' of 'signed int' type MISRAC2012-RULE_1_3-o-2
77:  The expression of the 'essentially signed' type is returned from function 'test_file' with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
77:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
91:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
92:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
104:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
110:  Identifiers given in declaration of 'tee_fs_dirfile_open' function (file: 'fs_dirfile.h', line: '56') are: 'dirh' not: 'dirh_ret' MISRAC2012-RULE_8_3-b-2
115:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
115:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
118:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
119:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
123:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
126:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
126:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
126:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
129:  The argument number '2' ('essentially unsigned' type) is passed to the function 'read_dent' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
130:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
131:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
136:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
139:  The argument number '2' ('essentially unsigned' type) is passed to the function 'test_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
142:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
144:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
149:  The argument number '2' ('essentially unsigned' type) is passed to the function 'set_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
154:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
165:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
167:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
167:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
168:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
168:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
184:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
185:  'for' statement in a function 'tee_fs_dirfile_get_tmp' should be followed by a block MISRAC2012-RULE_15_6-a-2
185:  Left-hand operand of right-shift operator is an expression of ' int' type MISRAC2012-RULE_1_3-o-2
185:  Reserved name '_byte' used MISRAC2012-RULE_21_2-a-2
185:  Reserved name '_lb' used MISRAC2012-RULE_21_2-a-2
185:  Reserved name '_name' used MISRAC2012-RULE_21_2-a-2
185:  Reserved name '_nbits' used MISRAC2012-RULE_21_2-a-2
185:  Reserved name '_stopbyte' used MISRAC2012-RULE_21_2-a-2
185:  Reserved name '_value' used MISRAC2012-RULE_21_2-a-2
185:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
185:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
191:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
192:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
206:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
206:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
206:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
208:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
208:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
209:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
214:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
219:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
224:  The argument number '2' ('essentially unsigned' type) is passed to the function 'test_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
224:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
224:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
227:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
227:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
227:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
228:  In the call of the function 'memcmp' the first argument type 'unsigned char**' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
228:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
228:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const void' MISRAC2012-RULE_21_16-a-2
232:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
235:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
247:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
248:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
250:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
253:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
255:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
257:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
270:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
271:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
272:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
274:  In the call of the function 'memcpy' the first argument type 'unsigned char*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
274:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
275:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
276:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
283:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
284:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
287:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
293:  The argument number '2' ('essentially signed' type) is passed to the function 'write_dent' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
304:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
307:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
312:  The argument number '2' ('essentially unsigned' type) is passed to the function 'test_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
314:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
315:  The argument number '2' ('essentially signed' type) is passed to the function 'write_dent' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
316:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
317:  The argument number '2' ('essentially unsigned' type) is passed to the function 'clear_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
329:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
332:  The argument number '2' ('essentially unsigned' type) is passed to the function 'test_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
334:  In the call of the function 'memcpy' the first argument type 'unsigned char**' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
334:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
336:  The argument number '2' ('essentially signed' type) is passed to the function 'write_dent' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
350:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
350:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
352:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
354:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
354:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
354:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
354:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
360:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
362:  In the call of the function 'memcpy' the first argument type 'void*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
362:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/fs_htree.c
125:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
127:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
158:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
187:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
190:  Function "traverse_post_order" is called recursively MISRAC2012-RULE_17_2-a-2
194:  Function "traverse_post_order" is called recursively MISRAC2012-RULE_17_2-a-2
211:  Potential macro 'UINT_MAX' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
211:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
213:  The argument number '1' (8 byte essential type) is passed to the function '__builtin_clz' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
237:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
249:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
262:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
263:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
272:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
284:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
286:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
286:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
287:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
288:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
296:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
305:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
306:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
314:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
326:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
327:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
327:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
327:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
328:  The argument number '3' ('essentially signed' type) is passed to the function 'rpc_read_node' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
332:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
334:  The argument number '2' ('essentially signed' type) is passed to the function 'rpc_read_head' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
340:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
341:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
347:  The argument number '2' ('essentially signed' type) is passed to the function 'rpc_read_head' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
354:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
356:  The argument number '3' ('essentially signed' type) is passed to the function 'rpc_read_node' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
379:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
380:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
381:  Essential type of LHS operand (16 bit) is wider than essential type of composite expression in RHS operand (8 bit) MISRAC2012-RULE_10_7-a-2
381:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
381:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
415:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
421:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
428:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
435:  The argument number '3' ('essentially Enum' type) is passed to the function 'crypto_hash_final' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
446:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
449:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
453:  The left hand operand of the '+' operator has essentially enum type: t_hash_size MISRAC2012-RULE_10_1-d-2
472:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
517:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
518:  Integer constant '0xFFFF3071' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
519:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
539:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
569:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
573:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
575:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
614:  Identifiers given in declaration of 'tee_fs_htree_open' function (file: 'fs_htree.h', line: '112') are: 'ht' not: 'ht_ret' MISRAC2012-RULE_8_3-b-2
619:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
619:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
621:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
622:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
686:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
687:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
687:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
693:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
695:  Unused function's "htree_traverse_post_order" return value MISRAC2012-RULE_17_7-a-2
696:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
696:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
712:  The left hand operand of the '>=' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
712:  The right hand operand of the '>=' operator has essentially Boolean type MISRAC2012-RULE_10_1-b-2
717:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
718:  The value of a composite expression (8 bit essential type) is assigned to an object with wider essential type (32 bit) MISRAC2012-RULE_10_6-a-2
721:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
722:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
722:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
728:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
728:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
757:  Identifiers given in declaration of 'tee_fs_htree_sync_to_storage' function (file: 'fs_htree.h', line: '140') are: 'ht' not: 'ht_arg' MISRAC2012-RULE_8_3-b-2
764:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
765:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
783:  The value of a composite expression (32 bit essential type) is passed to function 'rpc_write_head' as parameter with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
788:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
789:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
810:  Identifiers given in declaration of 'tee_fs_htree_write_block' function (file: 'fs_htree.h', line: '160') are: 'ht' not: 'ht_arg' MISRAC2012-RULE_8_3-b-2
821:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
822:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
831:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
831:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
860:  Identifiers given in declaration of 'tee_fs_htree_read_block' function (file: 'fs_htree.h', line: '170') are: 'ht' not: 'ht_arg' MISRAC2012-RULE_8_3-b-2
872:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
873:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
879:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
879:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
890:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
907:  Identifiers given in declaration of 'tee_fs_htree_truncate' function (file: 'fs_htree.h', line: '150') are: 'ht' not: 'ht_arg' MISRAC2012-RULE_8_3-b-2
913:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
914:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
918:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
919:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
919:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
920:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
923:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
923:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/socket.c
22:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
22:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
25:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
33:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
39:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
40:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
42:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
57:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
65:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
73:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
86:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
86:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
89:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
97:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
103:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
104:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
106:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
117:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
125:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
125:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
128:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
136:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
142:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
143:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
156:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
157:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
158:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
159:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
167:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
167:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
170:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
178:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
184:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
185:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
187:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
202:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
204:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
212:  The size of the array 'ta_funcs' should be specified explicitly MISRAC2012-RULE_9_5-a-2
231:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
232:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
234:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
244:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
256:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
257:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
259:  Integer constant '0xFFFF0009' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
262:  Reserved name '__scattered_array_0pseudo_tas' used MISRAC2012-RULE_21_2-a-2
262:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tadb.c
55:  Flexible array member 'opaque' is declared MISRAC2012-RULE_18_7-a-2
58:  An external identifier with the same name 'tee_tadb_ta_write' was declared in the 'tadb.c' file in line 440 MISRAC2012-RULE_5_8-a-2
66:  An external identifier with the same name 'tee_tadb_ta_read' was declared in the 'tadb.c' file in line 717 MISRAC2012-RULE_5_8-a-2
85:  Usage of 'snprintf' function is not allowed MISRAC2012-RULE_21_6-a-2
93:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
93:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
93:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
99:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
99:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
106:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
107:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
111:  The size of the array 'params' should be specified explicitly MISRAC2012-RULE_9_5-a-2
118:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
119:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
126:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
126:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
132:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
133:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
137:  The size of the array 'params' should be specified explicitly MISRAC2012-RULE_9_5-a-2
152:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
152:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
152:  Left-hand operand of right-shift operator is an expression of ' int' type MISRAC2012-RULE_1_3-o-2
152:  The argument number '2' ('essentially signed' type) is passed to the function 'realloc' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
153:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
154:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
157:  'while' statement in a function 'maybe_grow_files' should be followed by a block MISRAC2012-RULE_15_6-a-2
157:  Left-hand operand of right-shift operator is a variable '_start' of 'signed int' type MISRAC2012-RULE_1_3-o-2
157:  Left-hand operand of right-shift operator is a variable '_stop' of 'signed int' type MISRAC2012-RULE_1_3-o-2
157:  Reserved name '_name' used MISRAC2012-RULE_21_2-a-2
157:  Reserved name '_start' used MISRAC2012-RULE_21_2-a-2
157:  Reserved name '_startbyte' used MISRAC2012-RULE_21_2-a-2
157:  Reserved name '_stop' used MISRAC2012-RULE_21_2-a-2
157:  Reserved name '_stopbyte' used MISRAC2012-RULE_21_2-a-2
157:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
157:  The right hand operand of the shift operator '>>' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
167:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
168:  Left-hand operand of right-shift operator is a variable 'idx' of 'signed int' type MISRAC2012-RULE_1_3-o-2
168:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
176:  Left-hand operand of right-shift operator is a variable 'idx' of 'signed int' type MISRAC2012-RULE_1_3-o-2
176:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
182:  Left-hand operand of right-shift operator is a variable 'idx' of 'signed int' type MISRAC2012-RULE_1_3-o-2
182:  The expression of the 'essentially signed' type is returned from function 'test_file' with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
182:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
193:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
194:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
210:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
210:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
213:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
216:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
217:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
222:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
226:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
227:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
227:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
239:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
240:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
242:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
256:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
258:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
260:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
260:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
261:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
261:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
278:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
281:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
287:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
303:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
316:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
330:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
330:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
330:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
334:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
335:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
343:  The argument number '2' ('essentially unsigned' type) is passed to the function 'test_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
346:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
348:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
353:  The argument number '2' ('essentially unsigned' type) is passed to the function 'set_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
354:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
359:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
359:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
366:  Identifiers given in declaration of 'tee_tadb_ta_create' function (file: 'tadb.h', line: '47') are: 'ta' not: 'ta_ret' MISRAC2012-RULE_8_3-b-2
374:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
376:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
376:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
377:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
378:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
381:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
391:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
394:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
395:  'for' statement in a function 'tee_tadb_ta_create' should be followed by a block MISRAC2012-RULE_15_6-a-2
395:  Left-hand operand of right-shift operator is an expression of ' int' type MISRAC2012-RULE_1_3-o-2
395:  Reserved name '_byte' used MISRAC2012-RULE_21_2-a-2
395:  Reserved name '_lb' used MISRAC2012-RULE_21_2-a-2
395:  Reserved name '_name' used MISRAC2012-RULE_21_2-a-2
395:  Reserved name '_nbits' used MISRAC2012-RULE_21_2-a-2
395:  Reserved name '_stopbyte' used MISRAC2012-RULE_21_2-a-2
395:  Reserved name '_value' used MISRAC2012-RULE_21_2-a-2
395:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
395:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
401:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
406:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
410:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
414:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
419:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
423:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
435:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
435:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
440:  A tag name 'tee_tadb_ta_write' is reused MISRAC2012-RULE_5_7-a-2
448:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
449:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
449:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
453:  The argument number '4' ('essentially unsigned' type) is passed to the function 'tee_fs_rpc_write_init' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
454:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
459:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
463:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
478:  Unused function's "tee_fs_rpc_close" return value MISRAC2012-RULE_17_7-a-2
479:  Unused function's "ta_operation_remove" return value MISRAC2012-RULE_17_7-a-2
482:  The argument number '2' ('essentially unsigned' type) is passed to the function 'clear_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
486:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
486:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
502:  Improper expression is used in the first clause of a 'for' statement MISRAC2012-RULE_14_2-b-2
502:  The second clause of a 'for' statement does not contain a loop counter MISRAC2012-RULE_14_2-c-2
502:  The third clause of a 'for' statement contains an expression with a persistent side effect other than modification of a loop counter MISRAC2012-RULE_14_2-d-2
506:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
507:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
512:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
512:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
512:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
513:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
532:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
548:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
551:  Unused function's "tee_fs_rpc_close" return value MISRAC2012-RULE_17_7-a-2
562:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
566:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
570:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
573:  The argument number '2' ('essentially unsigned' type) is passed to the function 'clear_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
579:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
579:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
581:  Unused function's "ta_operation_remove" return value MISRAC2012-RULE_17_7-a-2
600:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
603:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
608:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
614:  The argument number '2' ('essentially unsigned' type) is passed to the function 'clear_file' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
619:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
622:  Unused function's "ta_operation_remove" return value MISRAC2012-RULE_17_7-a-2
626:  Identifiers given in declaration of 'tee_tadb_ta_open' function (file: 'tadb.h', line: '56') are: 'ta' not: 'ta_ret' MISRAC2012-RULE_8_3-b-2
634:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
636:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
636:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
637:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
638:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
641:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
647:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
652:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
656:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
665:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
665:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
678:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
679:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
680:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
682:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
684:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
692:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
694:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
698:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
699:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
702:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
704:  The size of the array 'params' should be specified explicitly MISRAC2012-RULE_9_5-a-2
705:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
710:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
717:  A tag name 'tee_tadb_ta_read' is reused MISRAC2012-RULE_5_7-a-2
720:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
724:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
727:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
730:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
734:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
734:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
735:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
735:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
737:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
738:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
741:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
741:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
746:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
751:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
751:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
752:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
762:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
773:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
775:  Unused function's "tee_fs_rpc_close" return value MISRAC2012-RULE_17_7-a-2
777:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
777:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_cryp_concat_kdf.c
38:  The argument number '1' (8 byte essential type) is passed to the function '__builtin_bswap32' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
50:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
62:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_cryp_hkdf.c
25:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
25:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
38:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
80:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
81:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
85:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
89:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
98:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
116:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
134:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_cryp_pbkdf2.c
35:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
42:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
42:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
65:  'for' statement in a function 'pbkdf2_f' should be followed by a block MISRAC2012-RULE_15_6-a-2
79:  A tag name 'pbkdf2_parms' is reused MISRAC2012-RULE_5_7-a-2
79:  Identifier 'pbkdf2_parms' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
80:  A tag name 'hmac_parms' is reused MISRAC2012-RULE_5_7-a-2
80:  Identifier 'hmac_parms' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
102:  The argument number '3' (8 byte essential type) is passed to the function 'pbkdf2_f' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
108:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
109:  The argument number '3' (8 byte essential type) is passed to the function 'pbkdf2_f' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_cryp_utl.c
23:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
24:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
39:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
43:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
48:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
86:  Integer constant '0xF0000613' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
91:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
105:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
116:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
127:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
146:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
158:  The 'plat_prng_add_jitter_entropy' function is also defined in other translation units MISRAC2012-RULE_8_6-a-2
193:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
195:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
205:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
213:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_fs_key_manager.c
39:  A tag name 'tee_fs_ssk' is reused MISRAC2012-RULE_5_7-a-2
48:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
48:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
48:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
49:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
81:  The dimension of array 'dst_key' is not an integer constant expression MISRAC2012-RULE_18_8-a-2
83:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
83:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
84:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
87:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
90:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
92:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
94:  The argument number '4' ('essentially Enum' type) is passed to the function 'do_hmac' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
105:  The argument number '4' ('essentially Enum' type) is passed to the function 'do_hmac' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
124:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
143:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
143:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
143:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
143:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
143:  The result of comparison is always true or always false MISRAC2012-RULE_14_3-i-2
155:  Identifiers given in declaration of 'tee_fs_generate_fek' function (file: 'tee_fs_key_manager.h', line: '19') are: 'encrypted_fek, fek_size' not: 'buf, buf_size' MISRAC2012-RULE_8_3-b-2
160:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
201:  Identifier 'out' is hiding parameter with the same name MISRAC2012-RULE_5_3-b-2
218:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
219:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
277:  Reserved name '__scattered_array_0initcall' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_fs_rpc.c
42:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
43:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
58:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
82:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
97:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
102:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
103:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
107:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
136:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
141:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
142:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
146:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
166:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
184:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
185:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_obj.c
26:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
32:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
39:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
41:  Unused function's "tee_pobj_release" return value MISRAC2012-RULE_17_7-a-2
51:  'while' statement in a function 'tee_obj_close_all' should be followed by a block MISRAC2012-RULE_15_6-a-2
61:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
62:  Integer constant '0xF0100003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
65:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
67:  Unused function value (function called through expression) MISRAC2012-RULE_17_7-a-2
77:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
77:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
82:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
84:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
84:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
85:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
85:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_pobj.c
12:  A tag name 'tee_pobjs' is reused MISRAC2012-RULE_5_7-a-2
19:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
19:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
21:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
30:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
30:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
32:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
32:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
34:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
45:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
48:  The left hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
48:  The right hand operand of the logical operator '||' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
50:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
52:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
55:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
72:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
74:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'void' MISRAC2012-RULE_21_16-a-2
74:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'void' MISRAC2012-RULE_21_16-a-2
75:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
75:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
81:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
87:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
97:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
97:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
98:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
99:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
104:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
113:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
113:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
115:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
115:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
116:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
119:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
133:  Identifiers given in declaration of 'tee_pobj_create_final' function (file: 'tee_pobj.h', line: '39') are: 'obj' not: 'po' MISRAC2012-RULE_8_3-b-2
144:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
150:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
150:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
151:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
151:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
165:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
169:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
173:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
173:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
175:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
178:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
181:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
181:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
188:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
188:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_ree_fs.c
48:  Left-hand operand of right-shift operator is a variable 'position' of 'signed int' type MISRAC2012-RULE_1_3-o-2
55:  The argument number '2' ('essentially signed' type) is passed to the function 'mempool_alloc' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
67:  The argument number '1' ('essentially unsigned' type) is passed to the function 'pos_to_block_num' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
67:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
68:  The argument number '1' ('essentially unsigned' type) is passed to the function 'pos_to_block_num' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
68:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
70:  Cast from 'const void *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
79:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
80:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
83:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
84:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
88:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
88:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
100:  The argument number '3' ('essentially signed' type) is passed to the function 'memset' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
100:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
103:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
104:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
106:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
113:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
126:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
207:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
210:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
229:  The argument number '4' ('essentially unsigned' type) is passed to the function 'tee_fs_rpc_read_init' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
247:  The argument number '4' ('essentially unsigned' type) is passed to the function 'tee_fs_rpc_write_init' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
251:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
275:  The argument number '2' ('essentially signed' type) is passed to the function 'get_offs_size' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
281:  The argument number '2' ('essentially signed' type) is passed to the function 'tee_fs_htree_truncate' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
290:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
306:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
312:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
317:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
322:  The argument number '1' ('essentially unsigned' type) is passed to the function 'pos_to_block_num' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
323:  The argument number '1' ('essentially unsigned' type) is passed to the function 'pos_to_block_num' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
326:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
327:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
333:  Reserved name '_a' used MISRAC2012-RULE_21_2-a-2
333:  Reserved name '_b' used MISRAC2012-RULE_21_2-a-2
338:  The argument number '2' ('essentially signed' type) is passed to the function 'tee_fs_htree_read_block' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
342:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
352:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
373:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
376:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
382:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
385:  The argument number '2' ('essentially unsigned' type) is passed to the function 'ree_fs_ftruncate_internal' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
401:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
401:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
402:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
403:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
420:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
424:  The expression of type 'struct tee_fs_fd *' should not be cast to pointer to incomplete type 'struct tee_file_handle *' MISRAC2012-RULE_11_2-a-2
426:  Integer constant '0xFFFF000F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
429:  Unused function's "tee_fs_rpc_close" return value MISRAC2012-RULE_17_7-a-2
431:  Unused function's "tee_fs_rpc_remove_dfh" return value MISRAC2012-RULE_17_7-a-2
432:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
432:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
440:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
442:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
444:  Unused function's "tee_fs_rpc_close" return value MISRAC2012-RULE_17_7-a-2
445:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
445:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
453:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
457:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
457:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
458:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
533:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
553:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
556:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
562:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
563:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
570:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
585:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
585:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
591:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
616:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
621:  Integer constant '0xF0100001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
622:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
622:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
622:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
623:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
629:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
646:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
647:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
649:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
660:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
664:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
668:  Unused function's "tee_fs_rpc_remove_dfh" return value MISRAC2012-RULE_17_7-a-2
675:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
701:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
705:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
709:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
712:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
712:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
714:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
719:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
719:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
721:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
726:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
726:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
728:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
732:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
734:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
739:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
741:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
744:  Unused function's "tee_fs_rpc_remove_dfh" return value MISRAC2012-RULE_17_7-a-2
757:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
762:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
766:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
770:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
774:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
778:  The argument number '2' ('essentially unsigned' type) is passed to the function 'put_dirh' as a parameter with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
792:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
793:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
797:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
802:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
803:  Integer constant '0xFFFF0003' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
809:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
814:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
819:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
824:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
828:  Unused function's "tee_fs_rpc_remove_dfh" return value MISRAC2012-RULE_17_7-a-2
831:  The argument number '2' ('essentially unsigned' type) is passed to the function 'put_dirh' as a parameter with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
846:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
851:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
855:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
859:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
862:  Unused function's "tee_fs_rpc_remove_dfh" return value MISRAC2012-RULE_17_7-a-2
864:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
867:  The argument number '2' ('essentially unsigned' type) is passed to the function 'put_dirh' as a parameter with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
877:  Pointer to incomplete type 'struct tee_file_handle *' should not be cast to type 'struct tee_fs_fd *' MISRAC2012-RULE_11_2-a-2
882:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
885:  The argument number '2' ('essentially unsigned' type) is passed to the function 'ree_fs_ftruncate_internal' as a parameter with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
886:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
890:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
894:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
898:  The argument number '2' ('essentially unsigned' type) is passed to the function 'put_dirh' as a parameter with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
909:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
909:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
911:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
912:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
919:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
930:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
 +  933:  "d" is checked for null after being dereferenced MISRAC2012-DIR_4_1-f-2
933:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
935:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
935:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
944:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
948:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
948:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_supp_plugin_rpc.c
22:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
26:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
26:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
36:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_6-a-2
36:  The 'switch' statement contains less than two switch-clauses MISRAC2012-RULE_16_1-h-2
38:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
38:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
38:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
38:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
38:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
39:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
41:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
43:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
45:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
49:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
54:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
67:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
70:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
70:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
71:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
74:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_svc.c
29:  Declaration of object 'tee_svc_uref_base' does not precede its definition MISRAC2012-RULE_8_4-a-2
39:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
39:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
54:  Integer constant '0xFFFF000A' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
119:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
119:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
119:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
119:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
119:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
123:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
127:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
128:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
133:  Integer constant '0xFFFF0007' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
162:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
174:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
186:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
193:  Declaration of object 'tee_propset_client' does not precede its definition MISRAC2012-RULE_8_4-a-2
196:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
202:  Declaration of object 'tee_propset_ta' does not precede its definition MISRAC2012-RULE_8_4-a-2
205:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
224:  Declaration of object 'tee_propset_tee' does not precede its definition MISRAC2012-RULE_8_4-a-2
227:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
233:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
238:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
243:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
248:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
254:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
260:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
266:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
272:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
278:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
284:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
290:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
296:  The expression of the 'essentially Enum' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
307:  Declaration of object 'vendor_props_client' does not precede its definition MISRAC2012-RULE_8_4-a-2
308:  Declaration of object 'vendor_props_ta' does not precede its definition MISRAC2012-RULE_8_4-a-2
309:  Declaration of object 'vendor_props_tee' does not precede its definition MISRAC2012-RULE_8_4-a-2
309:  The 'vendor_props_tee' object is also defined in other translation units MISRAC2012-RULE_8_6-a-2
317:  Integer constant '0xFFFFFFFE' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
317:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
317:  The expression of type 'unsigned long' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
322:  Integer constant '0xFFFFFFFF' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
322:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
322:  The expression of type 'unsigned long' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
327:  The expression of type 'unsigned long' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
328:  Integer constant '0xFFFFFFFD' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
328:  The expression of type 'unsigned int' should not be cast to pointer to incomplete type 'struct __TEE_PropSetHandle *' MISRAC2012-RULE_11_2-a-2
382:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
383:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
386:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
394:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
394:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
399:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
402:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
406:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
418:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
418:  The right hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
423:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
426:  Integer constant '0xFFFF0010' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
456:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
457:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
459:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
459:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
460:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
464:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
464:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
465:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
466:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
470:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially character' type MISRAC2012-RULE_10_3-b-2
472:  Integer constant '0xFFFF0008' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
474:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
479:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
480:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
496:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
502:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
507:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-c-2
507:  Every non empty case clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-a-2
514:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
516:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
517:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
524:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
525:  Integer constant '0xFFFF0001' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
529:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
530:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
533:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
541:  A tag name 'mobj' is reused MISRAC2012-RULE_5_7-a-2
541:  Identifier 'mobj' is hiding an identifier from global or namespace scope MISRAC2012-RULE_5_3-a-2
550:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
551:  Integer constant '0xFFFF0000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
 +  553:  The return value of the "mobj_get_va" method is not checked. It is checked at least 80% times in the testing scope MISRAC2012-DIR_4_7-a-2
579:  Variable 'dst' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-a-2
579:  Variable 'dst' of pointer type is initialized with '0' MISRAC2012-RULE_11_9-b-2
585:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
586:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
588:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
602:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
617:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
619:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
620:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
621:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
628:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
640:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_4-b-2
640:  Missing statement or comment before terminating 'break' MISRAC2012-RULE_16_1-f-2
662:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
663:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
678:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
679:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
689:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
689:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
724:  The left hand operand of the logical operator '&&' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
726:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
750:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
750:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
759:  Identifiers given in declaration of 'syscall_open_ta_session' function (file: 'tee_svc.h', line: '53') are: 'params, sess' not: 'usr_param, ta_sess' MISRAC2012-RULE_8_3-b-2
770:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
770:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
771:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
771:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
772:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
772:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
777:  Integer constant '0xFFFF000C' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
781:  Unused function's "memset" return value MISRAC2012-RULE_17_7-a-2
787:  Integer constant '0xF0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
788:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
796:  The argument number '6' (8 byte essential type) is passed to the function 'tee_ta_open_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
807:  Unused function's "copy_to_user_private" return value MISRAC2012-RULE_17_7-a-2
808:  Unused function's "copy_to_user_private" return value MISRAC2012-RULE_17_7-a-2
817:  Identifiers given in declaration of 'syscall_close_ta_session' function (file: 'tee_svc.h', line: '57') are: 'sess' not: 'ta_sess' MISRAC2012-RULE_8_3-b-2
824:  The argument number '1' (8 byte essential type) is passed to the function 'tee_ta_find_session' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
826:  Integer constant '0xF0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
827:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
832:  Identifiers given in declaration of 'syscall_invoke_ta_command' function (file: 'tee_svc.h', line: '59') are: 'sess, params' not: 'ta_sess, usr_param' MISRAC2012-RULE_8_3-b-2
850:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
851:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
853:  Integer constant '0xF0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
854:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
862:  The argument number '4' (8 byte essential type) is passed to the function 'tee_ta_invoke_command' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
862:  The argument number '5' (8 byte essential type) is passed to the function 'tee_ta_invoke_command' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
863:  Integer constant '0xFFFF3024' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
887:  Unused function's "copy_to_user_private" return value MISRAC2012-RULE_17_7-a-2
896:  The argument number '2' (8 byte essential type) is passed to the function 'vm_check_access_rights' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
897:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
905:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
917:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
929:  The expression of the 'essentially Boolean' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
953:  Integer constant '0xFFFF0002' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
960:  The argument number '1' (8 byte essential type) is passed to the function 'tee_time_wait' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
966:  Identifiers given in declaration of 'syscall_get_time' function (file: 'tee_svc.h', line: '74') are: 'time' not: 'mytime' MISRAC2012-RULE_8_3-b-2
974:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
977:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
980:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
984:  Integer constant '0xFFFF0006' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
988:  Integer constant '0xFFFF300F' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
997:  Identifiers given in declaration of 'syscall_set_ta_time' function (file: 'tee_svc.h', line: '75') are: 'time' not: 'mytime' MISRAC2012-RULE_8_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_svc_cryp.c
91:  Each instance of parameter: '_x' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
91:  Each instance of parameter: '_x' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
91:  Each instance of parameter: '_y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
91:  Each instance of parameter: '_y' should be enclosed in parentheses MISRAC2012-RULE_20_7-a-2
96:  Integer constant '0xC0000000' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
106:  Integer constant '0xD0000130' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
109:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
109:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
113:  Integer constant '0xD0000230' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
116:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
116:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
122:  Integer constant '0xD0000130' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
125:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
125:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
129:  Integer constant '0xD0000230' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
132:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
132:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
136:  Integer constant '0xC0000330' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
139:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
139:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
143:  Integer constant '0xC0000430' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
146:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
146:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
150:  Integer constant '0xC0000530' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
153:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
153:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
157:  Integer constant '0xC0000630' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
160:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
160:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
164:  Integer constant '0xC0000730' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
167:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
167:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
171:  Integer constant '0xC0000830' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
174:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
174:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
180:  Integer constant '0xD0001031' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
183:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
183:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
187:  Integer constant '0xD0001131' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
190:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
190:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
194:  Integer constant '0xD0001231' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
197:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
197:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
201:  Integer constant '0xD0000131' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
204:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
204:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
210:  Integer constant '0xD0001031' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
214:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
214:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
218:  Integer constant '0xD0001131' of unsigned type should have 'U' suffix MISRAC2012-RULE_7_2-a-2
222:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
222:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
230:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
230:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
237:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
237:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
244:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
244:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
254:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
254:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
261:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
261:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
268:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
268:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
275:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
275:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
282:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
282:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
289:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
289:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
337:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
337:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
344:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
344:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
351:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
351:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
360:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
360:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
367:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
367:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
374:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
374:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
382:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
382:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
402:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
402:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
405:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
405:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
409:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
409:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
413:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
413:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
416:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
416:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
419:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
419:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
422:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
422:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
425:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
425:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
428:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
428:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
431:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
431:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
434:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
434:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
437:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
437:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
441:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
441:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
446:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
446:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
451:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
451:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
455:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
455:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
459:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
459:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
463:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
463:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
467:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
467:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
471:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
471:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
475:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
475:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
479:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
479:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
483:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
483:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
487:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
487:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
491:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
491:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
495:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
495:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
499:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
499:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
503:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
503:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
507:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
507:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
511:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
511:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
525:  An external identifier with the same name 'free' was declared in the 'malloc.h' file in line 11 MISRAC2012-RULE_5_8-a-2
540:  In the call of the function 'memcpy' the first argument type 'unsigned char*' is not compatible with the second argument type 'unsigned int*' MISRAC2012-RULE_21_15-a-2
540:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
552:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
555:  In the call of the function 'memcpy' the first argument type 'unsigned int*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
555:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
569:  In the call of the function 'memcpy' the first argument type 'tee_cryp_obj_secret*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
569:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
570:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
592:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
613:  In the call of the function 'memcpy' the first argument type 'unsigned char*' is not compatible with the second argument type 'tee_cryp_obj_secret*' MISRAC2012-RULE_21_15-a-2
613:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
635:  In the call of the function 'memcpy' the first argument type 'tee_cryp_obj_secret*' is not compatible with the second argument type 'unsigned char*' MISRAC2012-RULE_21_15-a-2
635:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
648:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
686:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
688:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
693:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
696:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
712:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
740:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
779:  In the call of the function 'memcpy' the first argument type 'unsigned int*' is not compatible with the second argument type 'void*' MISRAC2012-RULE_21_15-a-2
779:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
790:  The array of type 'uint32_t [2]' shall not be partially initialized MISRAC2012-RULE_9_3-a-2
797:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
835:  A tag name 'attr_ops' is reused MISRAC2012-RULE_5_7-a-2
835:  The size of the array 'attr_ops' should be specified explicitly MISRAC2012-RULE_9_5-a-2
874:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
894:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
911:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
915:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
929:  The expression of the 'essentially unsigned' type is returned from function 'tee_svc_cryp_obj_find_type_attr_idx' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
956:  Essential type of LHS operand (32 bit) is wider than essential type of composite expression in RHS operand (8 bit) MISRAC2012-RULE_10_7-a-2
956:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
968:  Essential type of LHS operand (32 bit) is wider than essential type of composite expression in RHS operand (8 bit) MISRAC2012-RULE_10_7-a-2
968:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
982:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
987:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
991:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
992:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
996:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1001:  The argument number '1' (8 byte essential type) is passed to the function 'tee_svc_cryp_obj_find_type_attr_idx' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1002:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
1015:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1018:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1033:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1036:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1053:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1053:  The second and third operand have different essential types: 'unsigned long' and 'signed char' MISRAC2012-RULE_10_4-b-2
1060:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1063:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1090:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1093:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1119:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1122:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1165:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1227:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1236:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1241:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1246:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1249:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
1249:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
1250:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1293:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1303:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1318:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1321:  The argument number '2' (8 byte essential type) is passed to the function 'tee_obj_set_type' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1341:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1362:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1392:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1400:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1401:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1402:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1406:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1413:  Arithmetic type 'unsigned long' should not be converted to pointer to void type MISRAC2012-RULE_11_6-a-2
1414:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1458:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1461:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1463:  Provide 'else' after the last 'else-if' construct MISRAC2012-RULE_15_7-a-2
1463:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1480:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1480:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
1490:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1540:  The expression of the 'essentially unsigned' type is assigned to an object with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
1543:  'for' statement in a function 'get_used_bits' should be followed by a block MISRAC2012-RULE_15_6-a-2
1543:  Left-hand operand of right-shift operator is an expression of ' int' type MISRAC2012-RULE_1_3-o-2
1543:  Reserved name '_byte' used MISRAC2012-RULE_21_2-a-2
1543:  Reserved name '_lb' used MISRAC2012-RULE_21_2-a-2
1543:  Reserved name '_name' used MISRAC2012-RULE_21_2-a-2
1543:  Reserved name '_nbits' used MISRAC2012-RULE_21_2-a-2
1543:  Reserved name '_stopbyte' used MISRAC2012-RULE_21_2-a-2
1543:  Reserved name '_value' used MISRAC2012-RULE_21_2-a-2
1543:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1543:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1543:  The third clause of a 'for' statement should not contain a comma operator MISRAC2012-RULE_14_2-d-2
1544:  The expression of the 'essentially signed' type is returned from function 'get_used_bits' with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1569:  Essential type of LHS operand (32 bit) is wider than essential type of composite expression in RHS operand (8 bit) MISRAC2012-RULE_10_7-a-2
1569:  The right hand operand of the shift operator '<<' has essentially signed type 'int' MISRAC2012-RULE_10_1-f-2
1573:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1586:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1589:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1605:  The value of a composite expression (32 bit essential type) is assigned to an object with wider essential type (64 bit) MISRAC2012-RULE_10_6-a-2
1619:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1627:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1639:  Identifiers given in declaration of 'syscall_cryp_obj_populate' function (file: 'tee_svc_cryp.h', line: '24') are: 'attrs' not: 'usr_attrs' MISRAC2012-RULE_8_3-b-2
1649:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1662:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1670:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
1670:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
1671:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1674:  The argument number '3' (8 byte essential type) is passed to the function 'copy_in_attrs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1680:  The argument number '4' (8 byte essential type) is passed to the function 'tee_svc_cryp_check_attr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1684:  The argument number '4' (8 byte essential type) is passed to the function 'tee_svc_cryp_obj_populate_type' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1693:  Identifiers given in declaration of 'syscall_cryp_obj_copy' function (file: 'tee_svc_cryp.h', line: '26') are: 'dst_obj, src_obj' not: 'dst, src' MISRAC2012-RULE_8_3-b-2
1701:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1706:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1742:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1775:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1777:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1780:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
1787:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1809:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1831:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1833:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1873:  Identifiers given in declaration of 'syscall_obj_generate_key' function (file: 'tee_svc_cryp.h', line: '28') are: 'params' not: 'usr_params' MISRAC2012-RULE_8_3-b-2
1885:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1899:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1904:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
1912:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
1912:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
1913:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
1915:  The argument number '3' (8 byte essential type) is passed to the function 'copy_in_attrs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1921:  The argument number '4' (8 byte essential type) is passed to the function 'tee_svc_cryp_check_attr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1957:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1960:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
1965:  The argument number '3' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_rsa' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1966:  The argument number '5' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_rsa' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1972:  The argument number '3' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_dsa' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1973:  The argument number '5' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_dsa' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1979:  The argument number '3' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_dh' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1980:  The argument number '5' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_dh' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1988:  The argument number '3' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_ecc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1989:  The argument number '5' (8 byte essential type) is passed to the function 'tee_svc_obj_generate_key_ecc' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
1994:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
1994:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
2001:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2014:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2049:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
2049:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
2050:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2053:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
2053:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
2161:  Identifiers given in declaration of 'syscall_cryp_state_alloc' function (file: 'tee_svc_cryp.h', line: '32') are: 'op_mode' not: 'mode' MISRAC2012-RULE_8_3-b-2
2161:  Value 35 is out of acceptable range: 'lower than 30' METRIC.CC-3
2173:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2178:  The argument number '2' (8 byte essential type) is passed to the function 'tee_svc_cryp_check_key_type' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2178:  The argument number '3' ('essentially unsigned' type) is passed to the function 'tee_svc_cryp_check_key_type' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
2183:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2188:  The argument number '2' (8 byte essential type) is passed to the function 'tee_svc_cryp_check_key_type' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2188:  The argument number '3' ('essentially unsigned' type) is passed to the function 'tee_svc_cryp_check_key_type' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
2193:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
2193:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
2194:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2197:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2198:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2201:  The argument number '1' (8 byte essential type) is passed to the function '__tee_alg_get_class' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2207:  The argument number '2' (8 byte essential type) is passed to the function 'crypto_cipher_alloc_ctx' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2216:  The argument number '2' (8 byte essential type) is passed to the function 'crypto_authenc_alloc_ctx' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2225:  The argument number '2' (8 byte essential type) is passed to the function 'crypto_mac_alloc_ctx' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2234:  The argument number '2' (8 byte essential type) is passed to the function 'crypto_hash_alloc_ctx' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2292:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2296:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2329:  'while' statement in a function 'tee_svc_cryp_free_states' should be followed by a block MISRAC2012-RULE_15_6-a-2
2339:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2354:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2401:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2405:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2409:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2411:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2415:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2451:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2455:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2457:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2466:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2469:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2473:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2490:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2510:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2541:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2549:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2551:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2569:  The argument number '2' ('essentially unsigned' type) is passed to the function 'crypto_cipher_init' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
2574:  The argument number '2' ('essentially unsigned' type) is passed to the function 'crypto_cipher_init' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
2596:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2604:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2606:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2610:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2614:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
2622:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
2634:  The argument number '3' ('essentially unsigned' type) is passed to the function 'tee_do_cipher_update' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
2656:  Identifiers given in declaration of 'syscall_cipher_update' function (file: 'tee_svc_cryp.h', line: '49') are: 'dest, dest_len' not: 'dst, dst_len' MISRAC2012-RULE_8_3-b-2
2663:  Identifiers given in declaration of 'syscall_cipher_final' function (file: 'tee_svc_cryp.h', line: '51') are: 'dest, dest_len' not: 'dst, dst_len' MISRAC2012-RULE_8_3-b-2
2686:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2693:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2699:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2712:  The operand of the logical negation operator '!' should have essentially Boolean type MISRAC2012-RULE_10_1-a-2
2834:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2840:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
2855:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
2861:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
2867:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
2873:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
2896:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
2896:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
2917:  Identifiers given in declaration of 'syscall_cryp_derive_key' function (file: 'tee_svc_cryp.h', line: '54') are: 'params' not: 'usr_params' MISRAC2012-RULE_8_3-b-2
2917:  Value 38 is out of acceptable range: 'lower than 30' METRIC.CC-3
2932:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2939:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
2939:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
2942:  The argument number '3' (8 byte essential type) is passed to the function 'copy_in_attrs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2951:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
2985:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
2990:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3031:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
3031:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
3042:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
3045:  Unused function's "crypto_bignum_bin2bn" return value MISRAC2012-RULE_17_7-a-2
3056:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3072:  The argument number '2' (8 byte essential type) is passed to the function 'get_hkdf_params' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3087:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3101:  The argument number '2' (8 byte essential type) is passed to the function 'get_concat_kdf_params' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3116:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3130:  The argument number '2' (8 byte essential type) is passed to the function 'get_pbkdf2_params' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3142:  The argument number '6' (8 byte essential type) is passed to the function 'tee_cryp_pbkdf2' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3145:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3165:  The argument number '2' (8 byte essential type) is passed to the function 'get_sm2_kep_params' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3179:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3202:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3224:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3226:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3230:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3241:  The argument number '2' ('essentially unsigned' type) is passed to the function 'crypto_authenc_init' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
3261:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3263:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3267:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3277:  The argument number '2' ('essentially unsigned' type) is passed to the function 'crypto_authenc_update_aad' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
3285:  Identifiers given in declaration of 'syscall_authenc_update_payload' function (file: 'tee_svc_cryp.h', line: '65') are: 'dest_data, dest_len' not: 'dst_data, dst_len' MISRAC2012-RULE_8_3-b-2
3295:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3306:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3308:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3317:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3320:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3329:  The argument number '2' ('essentially unsigned' type) is passed to the function 'crypto_authenc_update_payload' as a parameter with the 'essentially Enum' type MISRAC2012-RULE_10_3-b-2
3342:  Identifiers given in declaration of 'syscall_authenc_enc_final' function (file: 'tee_svc_cryp.h', line: '68') are: 'dest_data, dest_len' not: 'dst_data, dst_len' MISRAC2012-RULE_8_3-b-2
3354:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3368:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3370:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3382:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3385:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3400:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3403:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3428:  Identifiers given in declaration of 'syscall_authenc_dec_final' function (file: 'tee_svc_cryp.h', line: '71') are: 'dest_data, dest_len' not: 'dst_data, dst_len' MISRAC2012-RULE_8_3-b-2
3438:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3452:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3454:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3466:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3469:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3480:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3504:  Potential macro 'INT_MAX' used as '1' parameter of potential macro 'assert' MISRAC2012-RULE_20_12-a-2
3509:  The expression of the 'essentially unsigned' type is returned from function 'pkcs1_get_salt_len' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
3517:  The expression of the 'essentially unsigned' type is returned from function 'pkcs1_get_salt_len' with the 'essentially signed' type MISRAC2012-RULE_10_3-b-2
3520:  Identifiers given in declaration of 'syscall_asymm_operate' function (file: 'tee_svc_cryp.h', line: '75') are: 'dest_data, dest_len' not: 'dst_data, dst_len' MISRAC2012-RULE_8_3-b-2
3537:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3542:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3544:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3553:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3556:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3565:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
3565:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
3568:  The argument number '3' (8 byte essential type) is passed to the function 'copy_in_attrs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3659:  The argument number '2' (8 byte essential type) is passed to the function 'pkcs1_get_salt_len' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3713:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3721:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3723:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3728:  The argument number '2' ('essentially signed' type) is passed to the function 'vm_check_access_rights' as a parameter with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
3730:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
3739:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
3739:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
3742:  The argument number '3' (8 byte essential type) is passed to the function 'copy_in_attrs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3765:  The argument number '2' (8 byte essential type) is passed to the function 'pkcs1_get_salt_len' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
3821:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_1-d-2
3821:  Every non empty default clause in a switch statement shall be terminated with a break statement MISRAC2012-RULE_16_3-b-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_svc_storage.c
74:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
91:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
97:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
97:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
108:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
119:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
121:  The argument number '3' (8 byte essential type) is passed to the function 'tee_b2hs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
122:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
125:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
127:  Unused function's "tee_b2hs" return value MISRAC2012-RULE_17_7-a-2
135:  The identifier 'tee_svc_storage_create_filename_dfh' has the same first 31 characters of the name as the identifier 'tee_svc_storage_create_filename' defined in the 'tee_svc_storage.h' file in line '71' MISRAC2012-RULE_5_1-a-2
160:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
165:  The expression of the 'essentially character' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
166:  Cast from 'const TEE_UUID *' removes 'const' qualifier MISRAC2012-RULE_11_8-a-2
166:  The argument number '3' (8 byte essential type) is passed to the function 'tee_b2hs' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
166:  Unused function's "tee_b2hs" return value MISRAC2012-RULE_17_7-a-2
174:  Unused function value (function called through expression) MISRAC2012-RULE_17_7-a-2
224:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
225:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
225:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
239:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
247:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
254:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
254:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
263:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
269:  The argument number '1' (8 byte essential type) is passed to the function 'tee_svc_storage_file_ops' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
277:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
291:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
296:  The argument number '3' (8 byte essential type) is passed to the function 'tee_pobj_get' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
296:  The argument number '4' (8 byte essential type) is passed to the function 'tee_pobj_get' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
303:  Unused function's "tee_pobj_release" return value MISRAC2012-RULE_17_7-a-2
308:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
336:  Unused function's "tee_svc_storage_remove_corrupt_obj" return value MISRAC2012-RULE_17_7-a-2
339:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
339:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
354:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
357:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
360:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
366:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
368:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
369:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
369:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
385:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
398:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
398:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
407:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
414:  The argument number '1' (8 byte essential type) is passed to the function 'tee_svc_storage_file_ops' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
422:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
432:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
437:  The argument number '3' (8 byte essential type) is passed to the function 'tee_pobj_get' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
437:  The argument number '4' (8 byte essential type) is passed to the function 'tee_pobj_get' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
443:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
444:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
445:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
449:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
465:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
470:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
480:  The argument number '2' ('essentially unsigned' type) is passed to the function 'tee_svc_storage_init_file' as a parameter with the 'essentially Boolean' type MISRAC2012-RULE_10_3-b-2
481:  The argument number '5' (8 byte essential type) is passed to the function 'tee_svc_storage_init_file' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
503:  Unused function value (function called through expression) MISRAC2012-RULE_17_7-a-2
504:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
508:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
509:  Unused function's "tee_pobj_release" return value MISRAC2012-RULE_17_7-a-2
 +  521:  Value of "len" is never used MISRAC2012-RULE_2_2-b-2
523:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
533:  Unreachable code inside 'if' block MISRAC2012-RULE_2_1-c-2
535:  'calloc' function should not be used MISRAC2012-RULE_21_3-a-2
535:  'calloc' function should not be used MISRAC2012-DIR_4_12-a-2
543:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
543:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
567:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
587:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
594:  The argument number '3' (8 byte essential type) is passed to the function 'tee_pobj_get' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
601:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
604:  The argument number '3' (8 byte essential type) is passed to the function 'tee_pobj_rename' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
607:  Unused function's "tee_pobj_release" return value MISRAC2012-RULE_17_7-a-2
609:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
609:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
610:  'free' function should not be used MISRAC2012-RULE_21_3-a-2
610:  'free' function should not be used MISRAC2012-DIR_4_12-a-2
624:  'malloc' function should not be used MISRAC2012-RULE_21_3-a-2
624:  'malloc' function should not be used MISRAC2012-DIR_4_12-a-2
643:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
657:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
661:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
678:  The argument number '1' (8 byte essential type) is passed to the function 'tee_svc_storage_file_ops' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
681:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
685:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
709:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
720:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
739:  The argument number '3' (8 byte essential type) is passed to the function 'tee_pobj_get' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
741:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
751:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
752:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
758:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
759:  Test of a value against zero should be made explicit MISRAC2012-RULE_14_4-a-2
761:  Unused function's "tee_pobj_release" return value MISRAC2012-RULE_17_7-a-2
780:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
802:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
815:  Unused function's "tee_svc_storage_remove_corrupt_obj" return value MISRAC2012-RULE_17_7-a-2
820:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
836:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
858:  Pointer to void type should not be converted to arithmetic type 'unsigned long' MISRAC2012-RULE_11_6-a-2
870:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
886:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
916:  The expression of the 'unsigned long' essential type (8 byte) is assigned to an object with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
939:  The argument number '1' (8 byte essential type) is passed to the function 'uref_to_vaddr' as a parameter with a narrower essential type (4 byte) MISRAC2012-RULE_10_3-a-2
947:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
950:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
954:  The expression of the 'essentially Enum' type in a switch statement's case label is converted to the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
970:  The expression of the 'essentially signed' type is assigned to an object with the 'essentially unsigned' type MISRAC2012-RULE_10_3-b-2
980:  'while' statement in a function 'tee_svc_storage_close_all_enum' should be followed by a block MISRAC2012-RULE_15_6-a-2
981:  Unused function's "tee_svc_close_enum" return value MISRAC2012-RULE_17_7-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_ta_enc_manager.c
60:  Pointer to object type 'struct shdr_encrypted_ta *' is cast to pointer to different object type 'struct shdr_encrypted_ta *' MISRAC2012-RULE_11_3-a-2
60:  Reserved name '_x' used MISRAC2012-RULE_21_2-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_time_generic.c
28:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
28:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
45:  The first argument to the function 'memcmp()' is a pointer to an inappropriate type 'const TEE_UUID' MISRAC2012-RULE_21_16-a-2
45:  The second argument to the function 'memcmp()' is a pointer to an inappropriate type 'TEE_UUID' MISRAC2012-RULE_21_16-a-2
54:  'realloc' function should not be used MISRAC2012-RULE_21_3-a-2
54:  'realloc' function should not be used MISRAC2012-DIR_4_12-a-2
134:  'while' statement in a function 'tee_time_busy_wait' should be followed by a block MISRAC2012-RULE_15_6-a-2
/optee_os_MISRA/optee_os_ruchi393_core/tee/uuid.c
10:  Identifiers given in declaration of 'tee_uuid_to_octets' function (file: 'uuid.h', line: '17') are: 'dst, src' not: 'd, s' MISRAC2012-RULE_8_3-b-2
12:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
13:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
14:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
15:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
16:  The expression of the 'unsigned short' essential type (2 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
17:  The expression of the 'unsigned short' essential type (2 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
18:  The expression of the 'unsigned short' essential type (2 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
19:  The expression of the 'unsigned short' essential type (2 byte) is assigned to an object with a narrower essential type (1 byte) MISRAC2012-RULE_10_3-a-2
20:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2
23:  Identifiers given in declaration of 'tee_uuid_from_octets' function (file: 'uuid.h', line: '24') are: 'dst, src' not: 'd, s' MISRAC2012-RULE_8_3-b-2
27:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
28:  The expression of the 'unsigned int' essential type (4 byte) is assigned to an object with a narrower essential type (2 byte) MISRAC2012-RULE_10_3-a-2
29:  Unused function's "memcpy" return value MISRAC2012-RULE_17_7-a-2

ruchika  Suppressions :  1169 Back to Top    
/optee_os_MISRA/ext/consttime_memcmp.c
41: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/ext/strlcat.c
42: Reserved name 'strlen' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
42: Reserved name 'strlen' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/ext/trace.c
128: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/isoc/bget.c
1125: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1160: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/isoc/bget_malloc.c
299: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
689: Reserved name 'malloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
689: Reserved name 'malloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
707: Reserved name 'calloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
707: Reserved name 'calloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
723: Reserved name 'realloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
723: Reserved name 'realloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
751: Reserved name 'free' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
751: Reserved name 'free' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
799: More than 31 initial characters in an internal identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
/optee_os_MISRA/isoc/fp.c
15: Reserved name 'stdout' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
15: Reserved name 'stdout' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
16: Reserved name 'stderr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
16: Reserved name 'stderr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/fputc.c
9: Reserved name 'fputc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
9: Reserved name 'fputc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/fputs.c
10: Reserved name 'fputs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
10: Reserved name 'fputs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/fwrite.c
10: Reserved name 'fwrite' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
10: Reserved name 'fwrite' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/include/ctype.h
8: Reserved name 'isalnum' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
8: Reserved name 'isalnum' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
9: Reserved name 'isalpha' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
9: Reserved name 'isalpha' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
10: Reserved name 'iscntrl' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
10: Reserved name 'iscntrl' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
11: Reserved name 'isdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
11: Reserved name 'isdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
12: Reserved name 'isgraph' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
12: Reserved name 'isgraph' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
13: Reserved name 'islower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
13: Reserved name 'islower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
14: Reserved name 'isprint' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
14: Reserved name 'isprint' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
15: Reserved name 'ispunct' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
15: Reserved name 'ispunct' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
16: Reserved name 'isspace' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
16: Reserved name 'isspace' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
17: Reserved name 'isupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
17: Reserved name 'isupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
18: Reserved name 'isxdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
18: Reserved name 'isxdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
19: Reserved name 'tolower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
19: Reserved name 'tolower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
20: Reserved name 'toupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
20: Reserved name 'toupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/include/malloc.h
11: Reserved name 'free' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
11: Reserved name 'free' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
33: Reserved name 'malloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
33: Reserved name 'malloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
34: Reserved name 'calloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
34: Reserved name 'calloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
35: Reserved name 'realloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
35: Reserved name 'realloc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/include/stdint.h
42: Reserved name 'int8_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
43: Reserved name 'int16_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
44: Reserved name 'int32_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
50: Reserved name 'int64_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
55: Reserved name 'uint8_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
56: Reserved name 'uint16_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
58: Reserved name 'uint32_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
66: Reserved name 'uint64_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
70: Reserved name 'int_least8_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
71: Reserved name 'int_least16_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
72: Reserved name 'int_least32_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
73: Reserved name 'int_least64_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
74: Reserved name 'uint_least8_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
75: Reserved name 'uint_least16_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
76: Reserved name 'uint_least32_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
77: Reserved name 'uint_least64_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
80: Reserved name 'int_fast8_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
81: Reserved name 'int_fast16_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
82: Reserved name 'int_fast32_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
83: Reserved name 'int_fast64_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
84: Reserved name 'uint_fast8_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
85: Reserved name 'uint_fast16_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
86: Reserved name 'uint_fast32_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
87: Reserved name 'uint_fast64_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
90: Reserved name 'intptr_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
91: Reserved name 'uintptr_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
93: Reserved name 'intmax_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
94: Reserved name 'uintmax_t' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/include/stdio.h
11: Reserved name 'FILE' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
11: Reserved name 'FILE' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
13: Reserved name 'printf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
13: Reserved name 'printf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
16: Reserved name 'sprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
16: Reserved name 'sprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
19: Reserved name 'snprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
21: Reserved name 'vsnprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
24: Reserved name 'puts' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
24: Reserved name 'puts' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
25: Reserved name 'putchar' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
25: Reserved name 'putchar' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
29: Reserved name 'stdout' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
29: Reserved name 'stdout' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
30: Reserved name 'stderr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
30: Reserved name 'stderr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
38: Reserved name 'fputc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
38: Reserved name 'fputc' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
39: Reserved name 'fputs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
39: Reserved name 'fputs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
40: Reserved name 'fwrite' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
40: Reserved name 'fwrite' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/include/stdlib.h
19: Reserved name 'qsort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
19: Reserved name 'qsort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
21: Reserved name 'abort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
21: Reserved name 'abort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
23: Reserved name 'abs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
23: Reserved name 'abs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
27: Reserved name 'rand' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
27: Reserved name 'rand' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
30: Reserved name 'strtoul' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
30: Reserved name 'strtoul' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/include/string.h
17: Reserved name 'memcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
17: Reserved name 'memcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
18: Reserved name 'memmove' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
18: Reserved name 'memmove' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
19: Reserved name 'memcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
19: Reserved name 'memcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
20: Reserved name 'memset' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
20: Reserved name 'memset' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
22: Reserved name 'strcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
22: Reserved name 'strcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
23: Reserved name 'strncmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
23: Reserved name 'strncmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
24: Reserved name 'strlen' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
24: Reserved name 'strlen' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
28: Reserved name 'strchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
28: Reserved name 'strchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
29: Reserved name 'strstr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
29: Reserved name 'strstr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
30: Reserved name 'strcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
30: Reserved name 'strcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
31: Reserved name 'strncpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
31: Reserved name 'strncpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
32: Reserved name 'strrchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
32: Reserved name 'strrchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
34: Reserved name 'memchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
34: Reserved name 'memchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isalnum.c
7: Reserved name 'isalnum' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isalnum' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isalpha.c
7: Reserved name 'isalpha' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isalpha' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/iscntrl.c
7: Reserved name 'iscntrl' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'iscntrl' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isdigit.c
7: Reserved name 'isdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isgraph.c
7: Reserved name 'isgraph' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isgraph' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/islower.c
7: Reserved name 'islower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'islower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isprint.c
7: Reserved name 'isprint' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isprint' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/ispunct.c
7: Reserved name 'ispunct' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'ispunct' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isspace.c
7: Reserved name 'isspace' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isspace' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isupper.c
7: Reserved name 'isupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/isxdigit.c
7: Reserved name 'isxdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'isxdigit' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/abs.c
73: Reserved name 'abs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
73: Reserved name 'abs' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/memchr.c
105: Reserved name 'memchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
105: Reserved name 'memchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/memcmp.c
84: Reserved name 'memcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
84: Reserved name 'memcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/memcpy.c
85: Reserved name 'memcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
85: Reserved name 'memcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/memmove.c
89: Reserved name 'memmove' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
89: Reserved name 'memmove' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/memset.c
75: Reserved name 'memset' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
75: Reserved name 'memset' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strchr.c
95: Reserved name 'strchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
95: Reserved name 'strchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strcmp.c
96: Reserved name 'strcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
96: Reserved name 'strcmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strcpy.c
94: Reserved name 'strcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
94: Reserved name 'strcpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strlen.c
91: Reserved name 'strlen' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
91: Reserved name 'strlen' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strncmp.c
96: Reserved name 'strncmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
96: Reserved name 'strncmp' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strncpy.c
102: Reserved name 'strncpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
102: Reserved name 'strncpy' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strrchr.c
71: Reserved name 'strrchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
71: Reserved name 'strrchr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strstr.c
81: Reserved name 'strstr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
81: Reserved name 'strstr' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/newlib/strtoul.c
219: Reserved name 'strtoul' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
219: Reserved name 'strtoul' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/qsort.c
76: Reserved name 'qsort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
76: Reserved name 'qsort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/snprintf.c
9: Reserved name 'snprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
21: Reserved name 'vsnprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/sprintf.c
9: Reserved name 'sprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
9: Reserved name 'sprintf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/tolower.c
7: Reserved name 'tolower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'tolower' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/isoc/toupper.c
7: Reserved name 'toupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
7: Reserved name 'toupper' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/ldelf/ta_elf.c
1130: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
1131: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
1685: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1685: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/ldelf/ta_elf.h
122: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
122: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/libdl/dlfcn.c
55: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
55: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
102: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
102: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/libunw/unwind_arm32.c
108: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
162: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
360: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
390: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/libutee/abort.c
11: Reserved name 'abort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
11: Reserved name 'abort' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/libutee/arch/arm/user_ta_entry.c
247: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
279: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/libutee/include/__tee_isocket_defines.h
13: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/__tee_tcpsocket_defines.h
13: More than 31 initial characters in a macro name: 43 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/__tee_tcpsocket_defines_extensions.h
7: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/__tee_udpsocket_defines.h
13: More than 31 initial characters in a macro name: 43 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/tee_api.h
167: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
167: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
169: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
169: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
175: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
175: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
178: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
178: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
180: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
180: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
182: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
182: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
327: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
327: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
331: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
331: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
333: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
333: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
335: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
335: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
354: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
354: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/libutee/include/tee_api_defines.h
22: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
114: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
143: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
144: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
145: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
146: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
147: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
148: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
149: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
150: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
151: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
152: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
154: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
155: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
156: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
157: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
158: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
267: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
268: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
269: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
270: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
296: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
297: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
298: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
299: More than 31 initial characters in a macro name: 39 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
300: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
302: More than 31 initial characters in a macro name: 43 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
303: More than 31 initial characters in a macro name: 39 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
304: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
305: More than 31 initial characters in a macro name: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
306: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
307: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
308: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
309: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
310: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
311: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
312: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
313: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
318: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
321: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
322: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
323: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
325: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
327: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
333: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
336: More than 31 initial characters in a macro name: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
339: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
341: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
343: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
345: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
347: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
348: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
350: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
351: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
352: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
353: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
354: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
357: More than 31 initial characters in a macro name: 47 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
358: More than 31 initial characters in a macro name: 39 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
359: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
360: More than 31 initial characters in a macro name: 39 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
361: More than 31 initial characters in a macro name: 48 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
363: More than 31 initial characters in a macro name: 51 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
364: More than 31 initial characters in a macro name: 47 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
365: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
366: More than 31 initial characters in a macro name: 48 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
367: More than 31 initial characters in a macro name: 48 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
371: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
372: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
374: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
377: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
379: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
380: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
381: More than 31 initial characters in a macro name: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
390: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
391: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
401: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
402: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
403: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
404: More than 31 initial characters in a macro name: 39 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
412: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
413: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
416: More than 31 initial characters in a macro name: 42 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
417: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
421: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
423: More than 31 initial characters in a macro name: 45 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
424: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
425: More than 31 initial characters in a macro name: 43 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
426: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
431: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
432: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
445: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
448: More than 31 initial characters in a macro name: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
449: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
450: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
452: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
453: More than 31 initial characters in a macro name: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
454: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/tee_api_defines_extensions.h
33: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
34: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
35: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
36: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
37: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
51: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
80: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/tee_syscall_numbers.h
13: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
42: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
65: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
66: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
67: More than 31 initial characters in a macro name: 42 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
68: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
69: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
70: More than 31 initial characters in a macro name: 42 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
71: More than 31 initial characters in a macro name: 44 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
72: More than 31 initial characters in a macro name: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
73: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
74: More than 31 initial characters in a macro name: 43 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
75: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
76: More than 31 initial characters in a macro name: 42 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
77: More than 31 initial characters in a macro name: 46 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
78: More than 31 initial characters in a macro name: 39 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
79: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/utee_defines.h
130: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
308: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/libutee/include/utee_syscalls.h
44: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
44: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
80: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
80: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
82: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
82: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
132: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
132: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
276: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
276: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/libutee/tee_api.c
43: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
79: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
93: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
123: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
332: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
332: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
350: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
350: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
371: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
371: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
385: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
385: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/libutee/tee_api_arith_mpi.c
129: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
129: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/libutee/tee_api_objects.c
21: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
122: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
162: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
300: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
312: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
476: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
476: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
489: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
489: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
529: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
529: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
552: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
552: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
565: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
565: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
578: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
578: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/libutee/tee_api_operations.c
382: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
500: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
721: "dst_op" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
721: "src_op" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
792: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
842: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
1157: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
1180: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
1353: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
1747: "operation" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
1820: Reserved name 'rand' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
1820: Reserved name 'rand' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/libutee/tee_api_panic.c
60: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
60: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
66: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
66: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/libutee/tee_api_private.h
36: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
36: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
37: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
37: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/libutee/tee_socket_pta.c
41: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
41: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
84: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
84: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
100: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
100: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
125: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
125: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
148: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
148: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/libutee/tee_system_pta.c
34: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
34: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
65: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
65: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
86: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
86: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/libutee/tee_tcpudp_socket.c
30: "proto_error" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
69: "proto_error" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
121: "sock_ctx" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
136: "sock_ctx" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
149: "sock_ctx" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
167: "sock_ctx" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
174: "sock_ctx" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
194: "sock_ctx" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
201: "sock_ctx" may possibly be null TEE_Panic takes care of this MISRAC2012-DIR_4_1-b
/optee_os_MISRA/libutee/trace_ext.c
40: Reserved name 'printf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
40: Reserved name 'printf' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
61: Reserved name 'puts' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
61: Reserved name 'puts' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
70: Reserved name 'putchar' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
70: Reserved name 'putchar' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/cache_helpers.h
43: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/spinlock.h
99: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
114: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/stmm_sp.h
47: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
48: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
50: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
51: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/thread.h
624: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
624: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
631: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
631: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/kernel/thread_defs.h
9: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
10: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
11: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/mm/core_mmu.h
351: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
351: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
517: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
529: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
541: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
616: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
685: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
685: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/sm/optee_smc.h
55: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
129: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
269: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
271: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
278: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
282: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
314: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
339: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
449: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
474: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
478: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
550: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
583: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/sm/psci.h
45: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/include/tee/entry_fast.h
24: More than 31 initial characters in an external identifier: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
24: More than 31 initial characters in an external identifier: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/abort.c
454: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/boot.c
94: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
94: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
94: More than 31 initial characters in an external identifier: 66 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
94: More than 31 initial characters in an external identifier: 66 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1196: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1267: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/ldelf_loader.c
32: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
32: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
40: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
62: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
74: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
76: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
86: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
87: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
142: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
174: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
196: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
204: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
206: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
208: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/tee_time.c
27: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
27: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
32: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
32: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
51: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
51: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/tee_time_arm_cntpct.c
17: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
17: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
64: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/thread.c
154: More than 31 initial characters in an external identifier: 61 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
154: More than 31 initial characters in an external identifier: 61 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
155: More than 31 initial characters in an external identifier: 61 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
155: More than 31 initial characters in an external identifier: 61 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
283: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
294: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
295: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
307: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
313: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1055: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1056: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1056: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1121: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1127: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1489: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1669: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1726: More than 31 initial characters in an external identifier: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1726: More than 31 initial characters in an external identifier: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1726: More than 31 initial characters in an external identifier: 67 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1726: More than 31 initial characters in an external identifier: 67 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1733: More than 31 initial characters in an external identifier: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1733: More than 31 initial characters in an external identifier: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1733: More than 31 initial characters in an external identifier: 71 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1733: More than 31 initial characters in an external identifier: 71 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1740: More than 31 initial characters in an external identifier: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1740: More than 31 initial characters in an external identifier: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1740: More than 31 initial characters in an external identifier: 70 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1740: More than 31 initial characters in an external identifier: 70 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1747: More than 31 initial characters in an external identifier: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1747: More than 31 initial characters in an external identifier: 40 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1747: More than 31 initial characters in an external identifier: 70 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1747: More than 31 initial characters in an external identifier: 70 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1754: More than 31 initial characters in an external identifier: 42 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1754: More than 31 initial characters in an external identifier: 42 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
1754: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
1754: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/thread_optee_smc.c
49: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
127: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
142: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
181: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
231: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
231: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
264: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
264: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
294: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
294: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
485: Reserved name 'carg' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
515: Reserved name 'carg' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
541: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
576: Reserved name 'carg' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
602: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/timer_a64.c
15: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
39: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/trace_ext.c
22: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/kernel/vfp.c
77: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
86: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/core_mmu.c
91: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
91: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
91: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
91: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
93: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
93: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
93: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
93: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
95: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
95: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
95: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
95: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
104: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
104: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
104: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
104: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
129: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
129: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
129: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
129: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
132: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
132: More than 31 initial characters in an external identifier: 72 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
132: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
132: More than 31 initial characters in an external identifier: 73 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
359: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
359: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
389: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
390: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
390: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
628: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
629: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
634: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
637: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
639: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
643: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
645: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
647: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
654: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
659: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
664: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
687: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
692: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
804: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
816: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
877: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
878: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
879: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
880: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
885: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
925: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
944: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
955: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
956: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
958: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
975: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
987: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
989: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
998: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1031: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1032: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1051: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1090: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1097: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1196: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1201: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1213: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1269: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1271: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1272: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1364: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1364: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1379: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1379: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1519: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1533: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1537: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1573: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1577: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1582: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1629: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1645: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1651: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1663: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1664: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1665: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1687: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1689: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1695: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1702: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1728: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1765: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1767: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1773: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1801: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1802: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1827: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1833: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1897: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1958: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
2017: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
2035: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
2036: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
2044: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
2070: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
2363: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
2363: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
2404: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
2405: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/core_mmu_lpae.c
202: More than 32767 bytes in an object: 32768 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
266: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
269: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
272: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
275: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
288: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
291: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
309: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
309: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
313: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
321: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
351: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
354: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
440: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
440: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
461: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
471: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
485: Reserved name 'va_end' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
485: Reserved name 'va_end' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
491: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
505: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
581: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
582: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
585: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
586: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
587: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
588: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
593: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
613: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
615: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
632: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
645: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
646: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
661: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
696: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
709: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
711: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
726: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
756: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
761: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
784: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
790: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
790: More than 31 initial characters in an external identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
800: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
802: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
808: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
922: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/mobj.c
65: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
66: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
74: More than 31 initial characters in an external identifier: 55 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
74: More than 31 initial characters in an external identifier: 55 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
139: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
140: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
223: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
239: More than 31 initial characters in an external identifier: 53 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
239: More than 31 initial characters in an external identifier: 53 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
340: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
341: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
349: More than 31 initial characters in an external identifier: 54 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
349: More than 31 initial characters in an external identifier: 54 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
539: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
540: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
605: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
606: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
609: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
610: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
619: More than 31 initial characters in an external identifier: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
619: More than 31 initial characters in an external identifier: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
619: More than 31 initial characters in an external identifier: 60 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
619: More than 31 initial characters in an external identifier: 60 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/mobj_dyn_shm.c
82: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
83: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
85: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
86: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
95: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
95: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
95: More than 31 initial characters in an external identifier: 66 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
95: More than 31 initial characters in an external identifier: 66 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
194: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
202: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
275: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
286: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
287: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
296: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
301: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/pgt_cache.c
443: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
453: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
454: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
476: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
483: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/mm/tee_mm.c
44: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
45: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
47: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
59: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
99: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
158: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
184: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
193: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
229: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
235: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
266: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
267: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
327: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
362: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
387: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/plat-vexpress/main.c
30: More than 31 initial characters in an external identifier: 79 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
30: More than 31 initial characters in an external identifier: 79 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
30: More than 31 initial characters in an external identifier: 80 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
30: More than 31 initial characters in an external identifier: 80 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
46: More than 31 initial characters in an external identifier: 79 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
46: More than 31 initial characters in an external identifier: 79 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
46: More than 31 initial characters in an external identifier: 80 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
46: More than 31 initial characters in an external identifier: 80 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
47: More than 31 initial characters in an external identifier: 79 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
47: More than 31 initial characters in an external identifier: 79 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
47: More than 31 initial characters in an external identifier: 80 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
47: More than 31 initial characters in an external identifier: 80 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
119: More than 31 initial characters in an external identifier: 61 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
119: More than 31 initial characters in an external identifier: 61 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/arch_svc.c
245: More than 31 initial characters in an internal identifier: 46 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
291: More than 31 initial characters in an internal identifier: 46 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/arch_svc_private.h
17: The 'tee_svc_do_call' function has no definition defined in assembly. False positive MISRAC2012-RULE_8_6-a
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/entry_fast.c
249: More than 31 initial characters in an external identifier: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
249: More than 31 initial characters in an external identifier: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/arch/arm/tee/entry_std.c
115: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
190: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
193: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
246: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
246: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
280: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
283: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
319: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
488: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/crypto/aes-gcm-sw.c
132: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
132: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/crypto/aes-gcm.c
537: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/crypto/cbc-mac.c
192: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
192: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
197: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
197: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
202: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
202: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
207: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
207: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
212: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
212: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
217: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
217: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/crypto/crypto.c
668: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
668: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
686: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
686: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
704: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
704: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
743: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
743: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/crypto/rng_fortuna.c
375: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
375: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
429: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm3.c
98: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
98: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
100: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
101: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
101: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
118: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
118: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
118: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
118: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
119: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
119: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
123: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
123: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
127: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
127: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
129: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
133: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
133: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
133: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
133: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
134: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
134: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
138: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
138: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
142: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
142: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
144: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/crypto/sm4.c
115: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
115: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
137: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/drivers/gic.c
87: More than 31 initial characters in an external identifier: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
87: More than 31 initial characters in an external identifier: 41 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
117: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
220: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
238: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
249: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
250: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
259: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
273: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
293: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
305: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
351: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
358: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
367: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
370: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/drivers/pl011.c
135: More than 31 initial characters in an external identifier: 45 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
135: More than 31 initial characters in an external identifier: 45 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
166: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
166: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/include/crypto/crypto.h
179: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
179: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
181: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
181: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
183: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
183: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
185: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
185: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
187: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
187: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
191: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
191: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
194: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
194: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
197: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
197: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
249: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
249: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/include/crypto/crypto_impl.h
32: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
122: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
122: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
123: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
123: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
124: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
124: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
125: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
125: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
126: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
126: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
127: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
127: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
346: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
346: More than 31 initial characters in an external identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
379: More than 31 initial characters in an internal identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
/optee_os_MISRA/optee_os_ruchi393_core/include/crypto/internal_aes-gcm.h
102: More than 31 initial characters in an internal identifier: 37 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
129: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
129: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/include/drivers/tzc400.h
171: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
172: More than 31 initial characters in a macro name: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/asan.h
20: Reserved name 'va_end' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
20: Reserved name 'va_end' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
20: The 'asan_set_shadowed' function has no definition False +ve. Definition there MISRAC2012-RULE_8_6-a
21: The 'asan_start' function has no definition False +ve. Definition there MISRAC2012-RULE_8_6-a
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/msg_param.h
74: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/tee_ta_manager.h
148: More than 31 initial characters in an internal identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
149: More than 31 initial characters in an internal identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
156: More than 31 initial characters in an internal identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
157: More than 31 initial characters in an internal identifier: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
/optee_os_MISRA/optee_os_ruchi393_core/include/kernel/tee_time.h
11: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
11: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
12: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
12: More than 31 initial characters in an external identifier: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
13: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
13: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
14: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
14: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
15: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
15: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/optee_os_ruchi393_core/include/mm/tee_mmu_types.h
98: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
99: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/include/optee_msg.h
23: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
91: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
92: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
289: More than 31 initial characters in a macro name: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/include/optee_rpc_cmd.h
288: More than 31 initial characters in a macro name: 36 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
289: More than 31 initial characters in a macro name: 33 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/include/scattered_array.h
52: More than 31 initial characters in a macro name: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
60: More than 31 initial characters in a macro name: 38 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-c
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/tee_svc.h
48: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
48: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
74: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
74: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
75: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
75: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/tee_svc_cryp.h
58: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
58: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/include/tee/tee_svc_storage.h
75: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
75: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/kernel/ldelf_syscalls.c
37: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
46: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
65: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
299: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
304: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
306: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
309: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
311: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
451: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
461: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
463: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
486: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/kernel/msg_param.c
71: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
91: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
93: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
105: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
125: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
128: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
136: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/kernel/panic.c
18: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/kernel/pseudo_ta.c
65: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
113: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
276: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/kernel/tee_ta_manager.c
120: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
163: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
569: More than 31 initial characters in an internal identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
/optee_os_MISRA/optee_os_ruchi393_core/kernel/user_ta.c
1: More than 511 external identifiers in one translation unit: 581 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
62: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
91: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/mm/fobj.c
735: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
782: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/mm/vm.c
66: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
89: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
127: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
128: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
128: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
169: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
170: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
181: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
187: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
191: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
220: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
226: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
229: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
268: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
285: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
290: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
420: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
533: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
649: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
668: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
669: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
677: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
687: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
703: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
713: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
719: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
767: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
770: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
873: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
925: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
933: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
935: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
937: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
945: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
984: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
992: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1027: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1029: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1121: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1155: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1261: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1265: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1268: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/pta/device.c
26: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
27: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
50: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
50: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
84: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
87: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/pta/secstor_ta_mgmt.c
144: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
144: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/pta/stats.c
41: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
41: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
108: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
108: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
131: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
131: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/pta/system.c
40: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
40: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
66: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
66: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
121: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
121: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
125: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
148: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
167: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
167: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
184: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
208: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
208: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
236: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
236: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
272: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
272: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
292: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
292: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/fs_dirfile.c
52: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
63: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
71: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
77: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/fs_htree.c
236: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
382: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
718: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/socket.c
25: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
25: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
65: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
65: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
89: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
89: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
128: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
128: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
170: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
170: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/tadb.c
157: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
168: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
176: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
182: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_cryp_hkdf.c
23: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
74: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_cryp_pbkdf2.c
82: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_ree_fs.c
55: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
87: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
88: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
90: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
91: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
93: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
94: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
100: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
135: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
198: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
206: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
207: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
275: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
276: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
281: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
332: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
333: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
335: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
336: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_svc.c
145: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
155: More than 31 initial characters in an internal identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
442: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
442: More than 31 initial characters in an external identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
505: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
613: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
659: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
714: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_svc_cryp.c
321: More than 31 initial characters in an internal identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
619: More than 31 initial characters in an internal identifier: 32 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
921: More than 31 initial characters in an internal identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
956: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
968: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
991: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1002: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
1168: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1400: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1458: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1480: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
1569: Shifting operation should be enclosed with if checking that RHS operand lies between zero and one less than the width in bits of the underlying type of the LHS operand Seem like False +ve's MISRAC2012-RULE_12_2-a
1573: Constant used as the right-hand operand of a shift operator shall be limited Seem like False +ve's MISRAC2012-RULE_12_2-a
1787: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1809: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
1960: Shifting operation should be enclosed with if checking that RHS operand does not exceed the upper limit (one less than the width in bits of the underlying type of the LHS operand) Seem like False +ve's MISRAC2012-RULE_12_2-a
3195: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
3195: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_svc_storage.c
135: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
135: More than 31 initial characters in an external identifier: 35 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-b
171: More than 31 initial characters in an internal identifier: 34 Reason: Standard demands that first 31 characters should be distinct while this rule seems to restrict the number of charcters to 31 which is not correct. MISRAC2012-RULE_1_1-a
/optee_os_MISRA/optee_os_ruchi393_core/tee/tee_time_generic.c
65: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
65: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c
99: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-b
99: Reserved name 'time' used We are baremetal project so these libraries are built in MISRAC2012-RULE_21_2-c

Checked Files (Details)
Expand All   Collapse All   Back to Top    
  •  + [1169/11926]  Suppressed / Total
    •  + [1169/11926]  optee_os_MISRA
      •  + [0/11]  arm_core
      •  + [4/502]  ext
      •  + [0/2]  ext/arch/arm
      •  + [0/195]  ext/include
      •  + [54/379]  isoc
      •  + [120/183]  isoc/include
      •  + [0/56]  isoc/include/sys
      •  + [30/208]  isoc/newlib
      •  + [6/766]  ldelf
      •  + [0/28]  ldelf/include
      •  + [4/51]  libdl
      •  + [0/1]  libdl/include
      •  + [4/143]  libunw
      •  + [0/0]  libunw/include/unw
      •  + [84/2146]  libutee
      •  + [2/159]  libutee/arch/arm
      •  + [160/271]  libutee/include
      •  + [0/23]  optee_os_ruchi393_core/arch/arm/include
      •  + [14/143]  optee_os_ruchi393_core/arch/arm/include/kernel
      •  + [8/154]  optee_os_ruchi393_core/arch/arm/include/mm
      •  + [14/32]  optee_os_ruchi393_core/arch/arm/include/sm
      •  + [2/4]  optee_os_ruchi393_core/arch/arm/include/tee
      •  + [86/1142]  optee_os_ruchi393_core/arch/arm/kernel
      •  + [213/1082]  optee_os_ruchi393_core/arch/arm/mm
      •  + [14/74]  optee_os_ruchi393_core/arch/arm/plat-vexpress
      •  + [14/322]  optee_os_ruchi393_core/arch/arm/tee
      •  + [56/516]  optee_os_ruchi393_core/crypto
      •  + [19/126]  optee_os_ruchi393_core/drivers
      •  + [8/69]  optee_os_ruchi393_core/include
      •  + [37/86]  optee_os_ruchi393_core/include/crypto
      •  + [2/22]  optee_os_ruchi393_core/include/drivers
      •  + [19/208]  optee_os_ruchi393_core/include/kernel
      •  + [2/42]  optee_os_ruchi393_core/include/mm
      •  + [10/12]  optee_os_ruchi393_core/include/tee
      •  + [29/760]  optee_os_ruchi393_core/kernel
      •  + [45/323]  optee_os_ruchi393_core/mm
      •  + [33/179]  optee_os_ruchi393_core/pta
      •  + [76/1506]  optee_os_ruchi393_core/tee

Flow Analysis Legend:

     Message - violation cause      Message - violation point      Message - path element annotation
Active Rules
Back to Top    
 [2/50]  Metric (METRIC) 
    McCabe Cyclomatic Complexity (METRIC.CC-3) 
    Nested Blocks Depth (METRIC.NBD-3) 
 [295/349]  MISRA C 2012 (MISRAC2012) 
     [1/1]  Rule 11.3 (Required) A cast shall not be performed between a pointer to object type and a pointer to a different object type (MISRAC2012-RULE_11_3) 
        A cast shall not be performed between a pointer to object type and a pointer to a different object type (MISRAC2012-RULE_11_3-a-2) 
     [1/1]  Rule 20.13 (Required) A line whose first token is # shall be a valid preprocessing directive (MISRAC2012-RULE_20_13) 
        Preprocessing directives shall be syntactically meaningful even when excluded by the preprocessor (MISRAC2012-RULE_20_13-a-2) 
     [1/1]  Rule 8.5 (Required) An external object or function shall be declared once in one and only one file (MISRAC2012-RULE_8_5) 
        An external object or function shall not have more than one non-defining declaration in translation unit (MISRAC2012-RULE_8_5-a-2) 
     [1/1]  Rule 20.12 (Required) A macro parameter used as an operand to the # or ## operators, which is itself subject to further macro replacement, shall only be used as an operand to these operators (MISRAC2012-RULE_20_12) 
        A macro parameter used as an operand to the # or ## operators, which is itself subject to further macro replacement, shall only be used as an operand to these operators (MISRAC2012-RULE_20_12-a-2) 
     [1/1]  Rule 8.6 (Required) An identifier with external linkage shall have exactly one external definition (MISRAC2012-RULE_8_6) 
        An identifier with external linkage shall have exactly one external definition (MISRAC2012-RULE_8_6-a-2) 
     [1/1]  Rule 20.11 (Required) A macro parameter immediately following a # operator shall not immediately be followed by a ## operator (MISRAC2012-RULE_20_11) 
        A macro parameter immediately following a # operator shall not immediately be followed by or preceded by a ## operator (MISRAC2012-RULE_20_11-a-2) 
     [3/3]  Rule 8.3 (Required) All declarations of an object or function shall use the same names and type qualifiers (MISRAC2012-RULE_8_3) 
        If objects or functions are declared more than once their types shall be compatible (MISRAC2012-RULE_8_3-a-2) 
        The identifiers used in the declaration and definition of a function shall be identical (MISRAC2012-RULE_8_3-b-2) 
        All declarations of an object or function shall have compatible types (MISRAC2012-RULE_8_3-c-2) 
     [1/1]  Rule 11.6 (Required) A cast shall not be performed between pointer to void and an arithmetic type (MISRAC2012-RULE_11_6) 
        A cast shall not be performed between pointer to void and an arithmetic type (MISRAC2012-RULE_11_6-a-2) 
     [1/1]  Rule 15.2 (Required) The goto statement shall jump to a label declared later in the same function (MISRAC2012-RULE_15_2) 
        The goto statement shall jump to a label declared later in the same function body (MISRAC2012-RULE_15_2-a-2) 
     [2/2]  Rule 8.4 (Required) A compatible declaration shall be visible when an object or function with external linkage is defined (MISRAC2012-RULE_8_4) 
        A declaration shall be visible when an object or function with external linkage is defined (MISRAC2012-RULE_8_4-a-2) 
        If objects or functions are declared more than once their types shall be compatible (MISRAC2012-RULE_8_4-b-2) 
     [1/1]  Rule 11.7 (Required) A cast shall not be performed between pointer to object and a non-integer arithmetic type (MISRAC2012-RULE_11_7) 
        A cast shall not be performed between pointer to object and a non-integer arithmetic type (MISRAC2012-RULE_11_7-a-2) 
     [1/1]  Rule 15.3 (Required) Any label referenced by a goto statement shall be declared in the same block, or in any block enclosing the goto statement (MISRAC2012-RULE_15_3) 
        Any label referenced by a goto statement shall be declared in the same block, or in a block enclosing the goto statement (MISRAC2012-RULE_15_3-a-2) 
     [1/1]  Rule 11.8 (Required) A cast shall not remove any const or volatile qualification from the type pointed to by a pointer (MISRAC2012-RULE_11_8) 
        A cast shall not remove any 'const' or 'volatile' qualification from the type of a pointer or reference (MISRAC2012-RULE_11_8-a-2) 
     [2/2]  Rule 11.9 (Required) The macro NULL shall be the only permitted form of integer null pointer constant (MISRAC2012-RULE_11_9) 
        Literal zero (0) shall not be used as the null-pointer-constant (MISRAC2012-RULE_11_9-a-2) 
        Use NULL instead of literal zero (0) as the null-pointer-constant (MISRAC2012-RULE_11_9-b-2) 
     [3/3]  Rule 19.1 (Mandatory) An object shall not be assigned or copied to an overlapping object (MISRAC2012-RULE_19_1) 
        An object shall not be assigned to an overlapping object (MISRAC2012-RULE_19_1-a-1) 
        An object shall not be assigned to an overlapping object (MISRAC2012-RULE_19_1-b-1) 
        An object shall not be assigned or copied to an overlapping object (MISRAC2012-RULE_19_1-c-1) 
     [2/2]  Rule 15.6 (Required) The body of an iteration-statement or a selection-statement shall be a compound-statement (MISRAC2012-RULE_15_6) 
        The statement forming the body of a 'switch', 'while', 'do...while' or 'for' statement shall be a compound statement (MISRAC2012-RULE_15_6-a-2) 
        'if' and 'else' should be followed by a compound statement (MISRAC2012-RULE_15_6-b-2) 
     [1/1]  Rule 8.8 (Required) The static storage class specifier shall be used in all declarations of objects and functions that have internal linkage (MISRAC2012-RULE_8_8) 
        The static storage class specifier shall be used in definitions and declarations of objects and functions that have internal linkage (MISRAC2012-RULE_8_8-a-2) 
     [12/12]  Dir 4.14 (Required) The validity of values received from external sources shall be checked (MISRAC2012-DIR_4_14) 
        Avoid tainted data in array indexes (MISRAC2012-DIR_4_14-a-2) 
        Protect against integer overflow/underflow from tainted data (MISRAC2012-DIR_4_14-b-2) 
        Avoid buffer read overflow from tainted data (MISRAC2012-DIR_4_14-c-2) 
        Avoid buffer write overflow from tainted data (MISRAC2012-DIR_4_14-d-2) 
        Protect against command injection (MISRAC2012-DIR_4_14-e-2) 
        Protect against file name injection (MISRAC2012-DIR_4_14-f-2) 
        Protect against SQL injection (MISRAC2012-DIR_4_14-g-2) 
        Prevent buffer overflows from tainted data (MISRAC2012-DIR_4_14-h-2) 
        Avoid buffer overflow from tainted data due to defining incorrect format limits (MISRAC2012-DIR_4_14-i-2) 
        Protect against environment injection (MISRAC2012-DIR_4_14-j-2) 
        Avoid printing tainted data on the output console (MISRAC2012-DIR_4_14-k-2) 
        Exclude unsanitized user input from format strings (MISRAC2012-DIR_4_14-l-2) 
     [1/1]  Rule 15.7 (Required) All if ... else if constructs shall be terminated with an else statement (MISRAC2012-RULE_15_7) 
        All 'if...else-if' constructs shall be terminated with an 'else' clause (MISRAC2012-RULE_15_7-a-2) 
     [1/1]  Dir 4.12 (Required) Dynamic memory allocation shall not be used (MISRAC2012-DIR_4_12) 
        Dynamic heap memory allocation shall not be used (MISRAC2012-DIR_4_12-a-2) 
     [1/1]  Dir 4.11 (Required) The validity of values passed to library functions shall be checked (MISRAC2012-DIR_4_11) 
        Validate values passed to library functions (MISRAC2012-DIR_4_11-a-2) 
     [1/1]  Dir 4.10 (Required) Precautions shall be taken in order to prevent the contents of a header file being included more than once (MISRAC2012-DIR_4_10) 
        Use multiple include guards (MISRAC2012-DIR_4_10-a-2) 
     [1/1]  Rule 20.14 (Required) All #else, #elif and #endif preprocessor directives shall reside in the same file as the #if, #ifdef or #ifndef directive to which they are related (MISRAC2012-RULE_20_14) 
        All #else, #elif and #endif preprocessor directives shall reside in the same file as the #if or #ifdef directive to which they are related (MISRAC2012-RULE_20_14-a-2) 
     [1/1]  Rule 4.1 (Required) Octal and hexadecimal escape sequences shall be terminated (MISRAC2012-RULE_4_1) 
        Octal and hexadecimal escape sequences shall be terminated (MISRAC2012-RULE_4_1-a-2) 
     [2/2]  Rule 8.1 (Required) Types shall be explicitly specified (MISRAC2012-RULE_8_1) 
        Whenever a function is declared or defined, its type shall be explicitly stated (MISRAC2012-RULE_8_1-a-2) 
        Whenever an object is declared or defined, its type shall be explicitly stated (MISRAC2012-RULE_8_1-b-2) 
     [3/3]  Rule 8.2 (Required) Function types shall be in prototype form with named parameters (MISRAC2012-RULE_8_2) 
        Identifiers shall be given for all of the parameters in a function prototype declaration (MISRAC2012-RULE_8_2-a-2) 
        Function types shall have named parameters (MISRAC2012-RULE_8_2-b-2) 
        Function types shall be in prototype form (MISRAC2012-RULE_8_2-c-2) 
     [2/2]  Rule 11.1 (Required) Conversions shall not be performed between a pointer to a function and any other type (MISRAC2012-RULE_11_1) 
        Conversions shall not be performed between a pointer to a function and any other type than pointer to function (MISRAC2012-RULE_11_1-a-2) 
        Conversions shall not be performed between non compatible pointer to a function types (MISRAC2012-RULE_11_1-b-2) 
     [1/1]  Rule 11.2 (Required) Conversions shall not be performed between a pointer to an incomplete type and any other type (MISRAC2012-RULE_11_2) 
        Conversions shall not be performed between a pointer to an incomplete type and any other type (MISRAC2012-RULE_11_2-a-2) 
     [1/1]  Rule 22.3 (Required) The same file shall not be open for read and write access at the same time on different streams (MISRAC2012-RULE_22_3) 
        The same file shall not be opened for read and write access at the same time on different streams (MISRAC2012-RULE_22_3-a-2) 
     [1/1]  Rule 22.4 (Mandatory) There shall be no attempt to write to a stream which has been opened as read-only (MISRAC2012-RULE_22_4) 
        Avoid writing to a stream which has been opened as read only (MISRAC2012-RULE_22_4-a-1) 
     [2/2]  Rule 22.5 (Mandatory) A pointer to a FILE object shall not be dereferenced (MISRAC2012-RULE_22_5) 
        A pointer to a FILE object shall not be dereferenced (MISRAC2012-RULE_22_5-a-1) 
        A pointer to a FILE object shall not be dereferenced by a library function (MISRAC2012-RULE_22_5-b-1) 
     [1/1]  Rule 22.6 (Mandatory) The value of a pointer to a FILE shall not be used after the associated stream has been closed (MISRAC2012-RULE_22_6) 
        Do not use resources that have been freed (MISRAC2012-RULE_22_6-a-1) 
     [1/1]  Rule 22.7 (Required) The macro EOF shall only be compared with the unmodified return value from any Standard Library function capable of returning EOF (MISRAC2012-RULE_22_7) 
        The macro EOF should be compared with the unmodified return value from the Standard Library function (MISRAC2012-RULE_22_7-a-2) 
     [1/1]  Rule 22.8 (Required) The value of errno shall be set to zero prior to a call to an errno-setting-function (MISRAC2012-RULE_22_8) 
        Properly use errno value (MISRAC2012-RULE_22_8-a-2) 
     [1/1]  Rule 22.9 (Required) The value of errno shall be tested against zero after calling an errno-setting-function (MISRAC2012-RULE_22_9) 
        Properly use errno value (MISRAC2012-RULE_22_9-a-2) 
     [1/1]  Rule 22.1 (Required) All resources obtained dynamically by means of Standard Library functions shall be explicitly released (MISRAC2012-RULE_22_1) 
        Ensure resources are freed (MISRAC2012-RULE_22_1-a-2) 
     [2/2]  Rule 22.2 (Mandatory) A block of memory shall only be freed if it was allocated by means of a (MISRAC2012-RULE_22_2) 
        Do not use resources that have been freed (MISRAC2012-RULE_22_2-a-1) 
        Do not free resources using invalid pointers (MISRAC2012-RULE_22_2-b-1) 
     [2/2]  Rule 10.4 (Required) Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category (MISRAC2012-RULE_10_4) 
        Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category (MISRAC2012-RULE_10_4-a-2) 
        The second and third operands of the ternary operator shall have the same essential type category (MISRAC2012-RULE_10_4-b-2) 
     [2/2]  Rule 14.1 (Required) A loop counter shall not have essentially floating type (MISRAC2012-RULE_14_1) 
        A loop counter in a 'for' loop shall not have essentially floating type (MISRAC2012-RULE_14_1-a-2) 
        A loop counter in 'while' and 'do-while' loops shall not have essentially floating type (MISRAC2012-RULE_14_1-b-2) 
     [1/1]  Rule 10.6 (Required) The value of a composite expression shall not be assigned to an object with wider essential type (MISRAC2012-RULE_10_6) 
        The value of a composite expression shall not be assigned to an object with wider essential type (MISRAC2012-RULE_10_6-a-2) 
     [4/4]  Rule 14.2 (Required) A for loop shall be well-formed (MISRAC2012-RULE_14_2) 
        There shall only be one loop counter in a 'for' loop, which shall not be modified in the 'for' loop body (MISRAC2012-RULE_14_2-a-2) 
        The first clause of a 'for' loop shall be well-formed (MISRAC2012-RULE_14_2-b-2) 
        The second clause of a 'for' loop shall be well-formed (MISRAC2012-RULE_14_2-c-2) 
        The third clause of a 'for' statement shall be well-formed (MISRAC2012-RULE_14_2-d-2) 
     [1/1]  Rule 7.4 (Required) A string literal shall not be assigned to an object unless the object's type is "pointer to const-qualified char" (MISRAC2012-RULE_7_4) 
        A string literal shall not be modified (MISRAC2012-RULE_7_4-a-2) 
     [2/2]  Rule 10.7 (Required) If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then the other operand shall not have wider essential type (MISRAC2012-RULE_10_7) 
        If a composite expression is used as one operand of an operator in which the usual arithmetic conversions are performed then the other operand shall not have wider essential type (MISRAC2012-RULE_10_7-a-2) 
        If a composite expression is used as one (second or third) operand of a conditional operator then the other operand shall not have wider essential type (MISRAC2012-RULE_10_7-b-2) 
     [30/30]  Rule 14.3 (Required) Controlling expressions shall not be invariant (MISRAC2012-RULE_14_3) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-a-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-aa-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-ab-2) 
        Avoid conditions that always evaluate to the same value (MISRAC2012-RULE_14_3-ac-2) 
        Avoid switch with unreachable branches (MISRAC2012-RULE_14_3-ad-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-b-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-c-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-d-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-e-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-f-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-g-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-h-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-i-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-j-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-k-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-l-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-m-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-n-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-o-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-p-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-q-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-r-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-s-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-t-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-u-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-v-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-w-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-x-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-y-2) 
        Boolean operations whose results are invariant shall not be permitted (MISRAC2012-RULE_14_3-z-2) 
     [1/1]  Rule 10.8 (Required) The value of a composite expression shall not be cast to a different essential type category or a wider essential type (MISRAC2012-RULE_10_8) 
        The value of a composite expression shall not be cast to a different essential type category or a wider essential type (MISRAC2012-RULE_10_8-a-2) 
     [1/1]  Rule 14.4 (Required) The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Boolean type (MISRAC2012-RULE_14_4) 
        Tests of a value against zero should be made explicit, unless the operand is effectively Boolean (MISRAC2012-RULE_14_4-a-2) 
     [3/3]  Rule 18.1 (Required) A pointer resulting from arithmetic on a pointer operand shall address an element of the same array as that pointer operand (MISRAC2012-RULE_18_1) 
        Avoid accessing arrays out of bounds (MISRAC2012-RULE_18_1-a-2) 
        Avoid accessing arrays and pointers out of bounds (MISRAC2012-RULE_18_1-b-2) 
        A pointer operand and any pointer resulting from pointer arithmetic using that operand shall both address elements of the same array (MISRAC2012-RULE_18_1-c-2) 
     [1/1]  Rule 18.2 (Required) Subtraction between pointers shall only be applied to pointers that address elements of the same array (MISRAC2012-RULE_18_2) 
        Do not subtract two pointers that do not address elements of the same array (MISRAC2012-RULE_18_2-a-2) 
     [1/1]  Rule 18.3 (Required) The relational operators >, >=, < and <= shall not be applied to objects of pointer type except where they point into the same object (MISRAC2012-RULE_18_3) 
        Do not compare two unrelated pointers (MISRAC2012-RULE_18_3-a-2) 
     [2/2]  Rule 18.6 (Required) The address of an object with automatic storage shall not be copied to another object that persists after the first object has ceased to exist (MISRAC2012-RULE_18_6) 
        The address of an object with automatic storage shall not be returned from a function (MISRAC2012-RULE_18_6-a-2) 
        The address of an object with automatic storage shall not be assigned to another object that may persist after the first object has ceased to exist (MISRAC2012-RULE_18_6-b-2) 
     [1/1]  Rule 18.7 (Required) Flexible array members shall not be declared (MISRAC2012-RULE_18_7) 
        Flexible array members shall not be declared (MISRAC2012-RULE_18_7-a-2) 
     [1/1]  Rule 18.8 (Required) Variable-length array types shall not be used (MISRAC2012-RULE_18_8) 
        Variable-length array types shall not be used (MISRAC2012-RULE_18_8-a-2) 
     [1/1]  Rule 3.2 (Required) Line-splicing shall not be used in // comments (MISRAC2012-RULE_3_2) 
        Line-splicing shall not be used in // comments (MISRAC2012-RULE_3_2-a-2) 
     [3/3]  Rule 3.1 (Required) The character sequences /* and // shall not be used within a comment (MISRAC2012-RULE_3_1) 
        The character sequence /* shall not be used within a C-style comment (MISRAC2012-RULE_3_1-a-2) 
        The character sequence // shall not be used within a C-style comment (MISRAC2012-RULE_3_1-b-2) 
        The character sequence /* shall not be used within a C++-style comment (MISRAC2012-RULE_3_1-c-2) 
     [1/1]  Rule 7.2 (Required) A "u" or "U" suffix shall be applied to all integer constants that are represented in an unsigned type (MISRAC2012-RULE_7_2) 
        A 'U' suffix shall be applied to all constants of unsigned type (MISRAC2012-RULE_7_2-a-2) 
     [7/7]  Rule 10.1 (Required) Operands shall not be of an inappropriate essential type (MISRAC2012-RULE_10_1) 
        An expression of essentially Boolean type should always be used where an operand is interpreted as a Boolean value (MISRAC2012-RULE_10_1-a-2) 
        An operand of essentially Boolean type should not be used where an operand is interpreted as a numeric value (MISRAC2012-RULE_10_1-b-2) 
        An operand of essentially character type should not be used where an operand is interpreted as a numeric value (MISRAC2012-RULE_10_1-c-2) 
        An operand of essentially enum type should not be used in an arithmetic operation (MISRAC2012-RULE_10_1-d-2) 
        Shift and bitwise operations should not be performed on operands of essentially signed or enum type (MISRAC2012-RULE_10_1-e-2) 
        An operand of essentially signed or enum type should not be used as the right hand operand to the bitwise shifting operator (MISRAC2012-RULE_10_1-f-2) 
        An operand of essentially unsigned type should not be used as the operand to the unary minus operator (MISRAC2012-RULE_10_1-g-2) 
     [1/1]  Rule 7.3 (Required) The lowercase character "l" shall not be used in a literal suffix (MISRAC2012-RULE_7_3) 
        Use capital 'L' instead of lowercase 'l' to indicate long (MISRAC2012-RULE_7_3-a-2) 
     [1/1]  Rule 10.2 (Required) Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations (MISRAC2012-RULE_10_2) 
        Expressions of essentially character type shall not be used inappropriately in addition and subtraction operations (MISRAC2012-RULE_10_2-a-2) 
     [2/2]  Rule 10.3 (Required) The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category (MISRAC2012-RULE_10_3) 
        The value of an expression shall not be assigned to an object with a narrower essential type (MISRAC2012-RULE_10_3-a-2) 
        The value of an expression shall not be assigned to an object of a different essential type category (MISRAC2012-RULE_10_3-b-2) 
     [1/1]  Rule 7.1 (Required) Octal constants shall not be used (MISRAC2012-RULE_7_1) 
        Octal constants (other than zero) shall not be used (MISRAC2012-RULE_7_1-a-2) 
     [1/1]  Rule 21.14 (Required) The Standard Library function memcmp shall not be used to compare null terminated strings (MISRAC2012-RULE_21_14) 
        The Standard Library function memcmp shall not be used to compare null terminated strings (MISRAC2012-RULE_21_14-a-2) 
     [2/2]  Rule 21.4 (Required) The standard header file <setjmp.h> shall not be used (MISRAC2012-RULE_21_4) 
        The setjmp macro and the longjmp function shall not be used (MISRAC2012-RULE_21_4-a-2) 
        The standard header file <setjmp.h> shall not be used (MISRAC2012-RULE_21_4-b-2) 
     [1/1]  Rule 21.13 (Mandatory) Any value passed to a function in <ctype.h> shall be representable as an unsigned char or be the value EOF (MISRAC2012-RULE_21_13) 
        Do not pass incorrect values to ctype.h library functions (MISRAC2012-RULE_21_13-a-1) 
     [2/2]  Rule 21.5 (Required) The standard header file <signal.h> shall not be used (MISRAC2012-RULE_21_5) 
        The standard header file <signal.h> shall not be used (MISRAC2012-RULE_21_5-a-2) 
        The signal handling facilities of <signal.h> shall not be used (MISRAC2012-RULE_21_5-b-2) 
     [1/1]  Rule 21.6 (Required) The Standard Library input/output functions shall not be used (MISRAC2012-RULE_21_6) 
        The Standard Library input/output functions shall not be used (MISRAC2012-RULE_21_6-a-2) 
     [1/1]  Rule 21.11 (Required) The standard header file <tgmath.h> shall not be used (MISRAC2012-RULE_21_11) 
        The standard header file <tgmath.h> shall not be used (MISRAC2012-RULE_21_11-a-2) 
     [1/1]  Rule 21.7 (Required) The atof, atoi, atol and atoll functions of <stdlib.h> shall not be used (MISRAC2012-RULE_21_7) 
        The library functions atof, atoi and atol from library stdlib.h shall not be used (MISRAC2012-RULE_21_7-a-2) 
     [1/1]  Rule 21.10 (Required) The Standard Library time and date functions shall not be used (MISRAC2012-RULE_21_10) 
        Avoid functions which use time from standard C library (MISRAC2012-RULE_21_10-a-2) 
     [3/3]  Rule 21.8 (Required) The Standard Library termination functions of <stdlib.h> shall not be used (MISRAC2012-RULE_21_8) 
        The 'abort()' function from the 'stdlib.h' or 'cstdlib' library shall not be used (MISRAC2012-RULE_21_8-a-2) 
        The 'exit()' function from the 'stdlib.h' or 'cstdlib' library shall not be used (MISRAC2012-RULE_21_8-b-2) 
        The 'quick_exit()' and '_Exit()' functions from the 'stdlib.h' or 'cstdlib' library shall not be used (MISRAC2012-RULE_21_8-c-2) 
     [1/1]  Rule 21.9 (Required) The library functions bsearch and qsort of <stdlib.h> shall not be used (MISRAC2012-RULE_21_9) 
        The library functions bsearch and qsort of <stdlib.h> shall not be used (MISRAC2012-RULE_21_9-a-2) 
     [2/2]  Rule 21.19 (Mandatory) The pointers returned by the Standard Library functions localeconv, getenv, setlocale or, strerror shall only be used as if they have pointer to const-qualified type (MISRAC2012-RULE_21_19) 
        The pointers returned by the Standard Library functions 'localeconv', 'getenv', 'setlocale' or, 'strerror' shall only be used as if they have pointer to const-qualified type (MISRAC2012-RULE_21_19-a-1) 
        Strings pointed by members of the structure 'lconv' should not be modified (MISRAC2012-RULE_21_19-b-1) 
     [1/1]  Rule 21.18 (Mandatory) The size_t argument passed to any function in <string.h> shall have an appropriate value (MISRAC2012-RULE_21_18) 
        The size_t argument passed to any function in string.h shall have an appropriate value (MISRAC2012-RULE_21_18-a-1) 
     [2/2]  Rule 21.17 (Mandatory) Use of the string handling functions from <string.h> shall not result in accesses beyond the bounds of the objects referenced by their pointer parameters (MISRAC2012-RULE_21_17) 
        Avoid overflow due to reading a not zero terminated string (MISRAC2012-RULE_21_17-a-1) 
        Avoid overflow when writing to a buffer (MISRAC2012-RULE_21_17-b-1) 
     [1/1]  Rule 21.16 (Required) The pointer arguments to the Standard Library function memcmp shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type (MISRAC2012-RULE_21_16) 
        The pointer arguments to the Standard Library function 'memcmp' shall point to either a pointer type, an essentially signed type, an essentially unsigned type, an essentially Boolean type or an essentially enum type (MISRAC2012-RULE_21_16-a-2) 
     [1/1]  Rule 21.15 (Required) The pointer arguments to the Standard Library functions memcpy, memmove and memcmp shall be pointers to qualified or unqualified versions of compatible types (MISRAC2012-RULE_21_15) 
        The pointer arguments to the Standard Library functions 'memcmp', 'memmove' and 'memcmp' shall be pointers to qualified or unqualified versions of compatible types (MISRAC2012-RULE_21_15-a-2) 
     [4/4]  Rule 21.1 (Required) #define and #undef shall not be used on a reserved identifier or reserved macro name (MISRAC2012-RULE_21_1) 
        Do not #define or #undef identifiers with names which start with underscore (MISRAC2012-RULE_21_1-a-2) 
        Reserved identifiers, macros and functions in the standard library, shall not be defined, redefined or undefined (C90 code) (MISRAC2012-RULE_21_1-b-2) 
        Reserved identifiers, macros and functions in the standard library, shall not be defined, redefined or undefined (C99 code) (MISRAC2012-RULE_21_1-c-2) 
        Do not #define nor #undef identifier 'defined' (MISRAC2012-RULE_21_1-d-2) 
     [3/3]  Rule 21.2 (Required) A reserved identifier or macro name shall not be declared (MISRAC2012-RULE_21_2) 
        The names of standard library macros, objects and functions shall not be reused (MISRAC2012-RULE_21_2-a-2) 
        The names of standard library macros, objects and functions shall not be reused (C90) (MISRAC2012-RULE_21_2-b-2) 
        The names of standard library macros, objects and functions shall not be reused (C99) (MISRAC2012-RULE_21_2-c-2) 
     [1/1]  Rule 21.3 (Required) The memory allocation and deallocation functions of <stdlib.h> shall not be used (MISRAC2012-RULE_21_3) 
        Dynamic heap memory allocation shall not be used (MISRAC2012-RULE_21_3-a-2) 
     [1/1]  Rule 13.1 (Required) Initializer lists shall not contain persistent side effects (MISRAC2012-RULE_13_1) 
        Initializer lists shall not contain persistent side effects (MISRAC2012-RULE_13_1-a-2) 
     [7/7]  Rule 13.2 (Required) The value of an expression and its persistent side effects shall be the same under all permitted evaluation orders (MISRAC2012-RULE_13_2) 
        The value of an expression shall be the same under any order of evaluation that the standard permits (MISRAC2012-RULE_13_2-a-2) 
        Don't write code that depends on the order of evaluation of function arguments (MISRAC2012-RULE_13_2-b-2) 
        Don't write code that depends on the order of evaluation of function designator and function arguments (MISRAC2012-RULE_13_2-c-2) 
        Don't write code that depends on the order of evaluation of expression that involves a function call (MISRAC2012-RULE_13_2-d-2) 
        Between sequence points an object shall have its stored value modified at most once by the evaluation of an expression (MISRAC2012-RULE_13_2-e-2) 
        Do not use more than one volatile between two adjacent sequence points (MISRAC2012-RULE_13_2-f-2) 
        Don't write code that depends on the order of evaluation of function calls (MISRAC2012-RULE_13_2-g-2) 
     [1/1]  Rule 13.5 (Required) The right hand operand of a logical && or || operator shall not contain persistent side effects (MISRAC2012-RULE_13_5) 
        The right-hand operand of a logical && or || operator shall not contain side effects (MISRAC2012-RULE_13_5-a-2) 
     [2/2]  Rule 17.1 (Required) The features of <stdarg.h> shall not be used (MISRAC2012-RULE_17_1) 
        The identifiers va_list, va_arg, va_start, va_end, va_copy should not be used (MISRAC2012-RULE_17_1-a-2) 
        The identifiers va_list, va_arg, va_start, va_end should not be used (MISRAC2012-RULE_17_1-b-2) 
     [1/1]  Rule 21.21 (Required) The Standard Library function system of <stdlib.h> shall not be used (MISRAC2012-RULE_21_21) 
        The 'system()' function from the 'stdlib.h' or 'cstdlib' library shall not be used (MISRAC2012-RULE_21_21-a-2) 
     [3/3]  Rule 13.6 (Mandatory) The operand of the sizeof operator shall not contain any expression which has potential side effects (MISRAC2012-RULE_13_6) 
        The operand of the sizeof operator shall not contain any expression which has side effects (MISRAC2012-RULE_13_6-a-1) 
        Object designated by a volatile lvalue should not be accessed in the operand of the sizeof operator (MISRAC2012-RULE_13_6-b-1) 
        The function call shall not be the operand of the sizeof operator (MISRAC2012-RULE_13_6-c-1) 
     [1/1]  Rule 17.2 (Required) Functions shall not call themselves, either directly or indirectly (MISRAC2012-RULE_17_2) 
        Functions shall not call themselves, either directly or indirectly (MISRAC2012-RULE_17_2-a-2) 
     [1/1]  Rule 21.20 (Mandatory) The pointer returned by the Standard Library functions asctime, ctime, gmtime, localtime, localeconv, getenv, setlocale or strerror shall not be used following a subsequent call to the same function (MISRAC2012-RULE_21_20) 
        Pointers returned by certain Standard Library functions should not be used following a subsequent call to the same or related function (MISRAC2012-RULE_21_20-a-1) 
     [1/1]  Rule 17.3 (Mandatory) A function shall not be declared implicitly (MISRAC2012-RULE_17_3) 
        Functions shall always have visible prototype at the function call (MISRAC2012-RULE_17_3-a-1) 
     [1/1]  Rule 17.4 (Mandatory) All exit paths from a function with non-void return type shall have an explicit return statement with an expression (MISRAC2012-RULE_17_4) 
        All exit paths from a function with non-void return type shall have an explicit return statement with an expression (MISRAC2012-RULE_17_4-a-1) 
     [1/1]  Rule 17.6 (Mandatory) The declaration of an array parameter shall not contain the static keyword between the [ ] (MISRAC2012-RULE_17_6) 
        The declaration of an array parameter shall not contain the 'static' keyword between the [ ] (MISRAC2012-RULE_17_6-a-1) 
     [2/2]  Rule 17.7 (Required) The value returned by a function having non-void return type shall be used (MISRAC2012-RULE_17_7) 
        The value returned by a function having non-void return type shall be used (MISRAC2012-RULE_17_7-a-2) 
        The value returned by a function having non-void return type shall be used (MISRAC2012-RULE_17_7-b-2) 
     [7/7]  Rule 2.1 (Required) A project shall not contain unreachable code (MISRAC2012-RULE_2_1) 
        There shall be no unreachable code in "else" block (MISRAC2012-RULE_2_1-a-2) 
        There shall be no unreachable code after 'return', 'break', 'continue', and 'goto' statements (MISRAC2012-RULE_2_1-b-2) 
        There shall be no unreachable code in "if/else/while/for" block (MISRAC2012-RULE_2_1-c-2) 
        There shall be no unreachable code in switch statement (MISRAC2012-RULE_2_1-d-2) 
        There shall be no unreachable code in 'for' loop (MISRAC2012-RULE_2_1-e-2) 
        There shall be no unreachable code after 'if' or 'switch' statement (MISRAC2012-RULE_2_1-f-2) 
        There shall be no unreachable code after "if" or "switch" statement inside while/for/do...while loop (MISRAC2012-RULE_2_1-g-2) 
     [2/2]  Rule 2.2 (Required) There shall be no dead code (MISRAC2012-RULE_2_2) 
        All non-null statements shall either have at least one side-effect however executed or cause control flow to change (MISRAC2012-RULE_2_2-a-2) 
        Avoid unused values (MISRAC2012-RULE_2_2-b-2) 
     [1/1]  Rule 6.1 (Required) Bit-fields shall only be declared with an appropriate type (MISRAC2012-RULE_6_1) 
        Bit fields shall only be defined to be of type unsigned int or signed int (MISRAC2012-RULE_6_1-a-2) 
     [1/1]  Rule 6.2 (Required) Single-bit named bit fields shall not be of a signed type (MISRAC2012-RULE_6_2) 
        Named bit-fields with signed integer type shall have a length of more than one bit (MISRAC2012-RULE_6_2-a-2) 
     [1/1]  Rule 20.6 (Required) Tokens that look like a preprocessing directive shall not occur within a macro argument (MISRAC2012-RULE_20_6) 
        Arguments to a function-like macro shall not contain tokens that look like preprocessing directives (MISRAC2012-RULE_20_6-a-2) 
     [1/1]  Rule 20.7 (Required) Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses (MISRAC2012-RULE_20_7) 
        In the definition of a function-like macro each instance of a parameter shall be enclosed in parentheses unless it is used as the operand of # or ## (MISRAC2012-RULE_20_7-a-2) 
     [1/1]  Rule 20.8 (Required) The controlling expression of a #if or #elif preprocessing directive shall evaluate to 0 or 1 (MISRAC2012-RULE_20_8) 
        The controlling expression of a #if or #elif preprocessing directive shall evaluate to 0 or 1 (MISRAC2012-RULE_20_8-a-2) 
     [1/1]  Rule 20.9 (Required) All identifiers used in the controlling expression of #if or #elif preprocessing directives shall be #define'd before evaluation (MISRAC2012-RULE_20_9) 
        Do not use in preprocessor directives #if and #elif macros not defined in translation unit (MISRAC2012-RULE_20_9-b-2) 
     [2/2]  Rule 20.2 (Required) The ', " or \ characters and the /* or // character sequences shall not occur in a header file name (MISRAC2012-RULE_20_2) 
        The ', ", /* or // characters shall not occur in a header file name (MISRAC2012-RULE_20_2-a-2) 
        The \ character should not occur in a header file name (MISRAC2012-RULE_20_2-b-2) 
     [1/1]  Rule 20.3 (Required) The #include directive shall be followed by either a <filename> or "filename" sequence (MISRAC2012-RULE_20_3) 
        The #include directive shall be followed by either a <filename> or "filename" sequence (MISRAC2012-RULE_20_3-a-2) 
     [2/2]  Rule 20.4 (Required) A macro shall not be defined with the same name as a keyword (MISRAC2012-RULE_20_4) 
        A macro shall not be defined with the same name as a keyword in C90 (MISRAC2012-RULE_20_4-a-2) 
        A macro shall not be defined with the same name as a keyword in C99 (MISRAC2012-RULE_20_4-b-2) 
     [1/1]  Rule 12.2 (Required) The right hand operand of a shift operator shall lie in the range zero to one less than the width in bits of the essential type of the left hand operand (MISRAC2012-RULE_12_2) 
        The right-hand operand of a shift operator shall lie between zero and one less than the width in bits of the underlying type of the left-hand operand (MISRAC2012-RULE_12_2-a-2) 
     [1/1]  Rule 5.8 (Required) Identifiers that define objects or functions with external linkage shall be unique (MISRAC2012-RULE_5_8) 
        Identifiers that define objects or functions with external linkage shall be unique (MISRAC2012-RULE_5_8-a-2) 
     [1/1]  Rule 9.4 (Required) An element of an object shall not be initialized more than once (MISRAC2012-RULE_9_4) 
        An element of an object shall not be initialized more than once (MISRAC2012-RULE_9_4-a-2) 
     [1/1]  Rule 9.5 (Required) Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly (MISRAC2012-RULE_9_5) 
        Where designated initializers are used to initialize an array object the size of the array shall be specified explicitly (MISRAC2012-RULE_9_5-a-2) 
     [2/2]  Rule 5.6 (Required) A typedef name shall be a unique identifier (MISRAC2012-RULE_5_6) 
        Do not reuse typedef names (MISRAC2012-RULE_5_6-a-2) 
        Do not reuse typedef names as a typedef name (MISRAC2012-RULE_5_6-b-2) 
     [1/1]  Rule 9.2 (Required) The initializer for an aggregate or union shall be enclosed in braces (MISRAC2012-RULE_9_2) 
        The initializer for an aggregate or union shall be enclosed in braces (MISRAC2012-RULE_9_2-a-2) 
     [1/1]  Rule 12.5 (Mandatory) The sizeof operator shall not have an operand which is a function parameter declared as "array of type" (MISRAC2012-RULE_12_5) 
        The 'sizeof' operator shall not have an operand which is a function parameter declared as "array of type" (MISRAC2012-RULE_12_5-a-1) 
     [8/8]  Rule 16.1 (Required) All switch statements shall be well-formed (MISRAC2012-RULE_16_1) 
        A switch statement shall only contain switch labels and switch clauses, and no other code (MISRAC2012-RULE_16_1-a-2) 
        A switch label shall only be used when the most closely-enclosing compound statement is the body of a switch statement (MISRAC2012-RULE_16_1-b-2) 
        An unconditional break statement shall terminate every non-empty case clause (MISRAC2012-RULE_16_1-c-2) 
        An unconditional break statement shall terminate every non-empty default clause (MISRAC2012-RULE_16_1-d-2) 
        Always provide a default branch for switch statements (MISRAC2012-RULE_16_1-e-2) 
        A 'default' label shall have a statement or a comment before terminating 'break' (MISRAC2012-RULE_16_1-f-2) 
        A 'default' label, if it exists, shall appear as either the first or the last switch label of a switch statement (MISRAC2012-RULE_16_1-g-2) 
        Every switch statement shall have at least two switch-clauses (MISRAC2012-RULE_16_1-h-2) 
     [2/2]  Rule 5.7 (Required) A tag name shall be a unique identifier (MISRAC2012-RULE_5_7) 
        A tag name shall not be reused for other purpose within the program (MISRAC2012-RULE_5_7-a-2) 
        A tag name shall not be reused to define a different tag (MISRAC2012-RULE_5_7-b-2) 
     [1/1]  Rule 9.3 (Required) Arrays shall not be partially initialized (MISRAC2012-RULE_9_3) 
        Arrays shall not be partially initialized (MISRAC2012-RULE_9_3-a-2) 
     [1/1]  Rule 16.2 (Required) A switch label shall only be used when the most closely-enclosing compound statement is the body of a switch statement (MISRAC2012-RULE_16_2) 
        A switch label shall only be used when the most closely-enclosing compound statement is the body of a switch statement (MISRAC2012-RULE_16_2-a-2) 
     [2/2]  Rule 16.3 (Required) An unconditional break statement shall terminate every switch-clause (MISRAC2012-RULE_16_3) 
        An unconditional break statement shall terminate every non-empty case clause (MISRAC2012-RULE_16_3-a-2) 
        An unconditional break statement shall terminate every non-empty default clause (MISRAC2012-RULE_16_3-b-2) 
     [1/1]  Rule 22.10 (Required) The value of errno shall only be tested when the last function to be called was an errno-setting-function (MISRAC2012-RULE_22_10) 
        Properly use errno value (MISRAC2012-RULE_22_10-a-2) 
     [2/2]  Rule 16.4 (Required) Every switch statement shall have a default label (MISRAC2012-RULE_16_4) 
        Always provide a default branch for switch statements (MISRAC2012-RULE_16_4-a-2) 
        A 'default' label shall have a statement or a comment before terminating 'break' (MISRAC2012-RULE_16_4-b-2) 
     [1/1]  Rule 16.5 (Required) A default label shall appear as either the first or the last switch label of a switch statement (MISRAC2012-RULE_16_5) 
        A 'default' label, if it exists, shall appear as either the first or the last switch label of a switch statement (MISRAC2012-RULE_16_5-a-2) 
     [1/1]  Rule 16.6 (Required) Every switch statement shall have at least two switch-clauses (MISRAC2012-RULE_16_6) 
        Every switch statement shall have at least two switch-clauses (MISRAC2012-RULE_16_6-a-2) 
     [2/2]  Rule 16.7 (Required) A switch-expression shall not have essentially Boolean type (MISRAC2012-RULE_16_7) 
        A switch expression shall not represent a value that is effectively Boolean (MISRAC2012-RULE_16_7-a-2) 
        A switch expression shall not represent a value that is effectively Boolean (MISRAC2012-RULE_16_7-b-2) 
     [2/2]  Dir 4.7 (Required) If a function returns error information, then that error information shall be tested (MISRAC2012-DIR_4_7) 
        Consistently check the returned value of non-void functions (MISRAC2012-DIR_4_7-a-2) 
        Always check the returned value of non-void function (MISRAC2012-DIR_4_7-b-2) 
     [11/11]  Dir 4.1 (Required) Run-time failures shall be minimized (MISRAC2012-DIR_4_1) 
        Avoid accessing arrays out of bounds (MISRAC2012-DIR_4_1-a-2) 
        Avoid null pointer dereferencing (MISRAC2012-DIR_4_1-b-2) 
        Avoid division by zero (MISRAC2012-DIR_4_1-c-2) 
        Avoid buffer overflow due to defining incorrect format limits (MISRAC2012-DIR_4_1-d-2) 
        Avoid overflow due to reading a not zero terminated string (MISRAC2012-DIR_4_1-e-2) 
        Do not check for null after dereferencing (MISRAC2012-DIR_4_1-f-2) 
        Avoid overflow when reading from a buffer (MISRAC2012-DIR_4_1-g-2) 
        Avoid overflow when writing to a buffer (MISRAC2012-DIR_4_1-h-2) 
        Do not subtract two pointers that do not address elements of the same array (MISRAC2012-DIR_4_1-i-2) 
        Do not compare two unrelated pointers (MISRAC2012-DIR_4_1-j-2) 
        Avoid integer overflows (MISRAC2012-DIR_4_1-k-2) 
     [1/1]  Rule 8.12 (Required) Within an enumerator list, the value of an implicitly-specified enumeration constant shall be unique (MISRAC2012-RULE_8_12) 
        Within an enumerator list, the value of an implicitly-specified enumeration constant shall be unique (MISRAC2012-RULE_8_12-a-2) 
     [1/1]  Dir 4.3 (Required) Assembly language shall be encapsulated and isolated (MISRAC2012-DIR_4_3) 
        Assembly language shall be encapsulated and isolated (MISRAC2012-DIR_4_3-a-2) 
     [1/1]  Rule 8.14 (Required) The restrict type qualifier shall not be used (MISRAC2012-RULE_8_14) 
        The restrict type qualifier shall not be used (MISRAC2012-RULE_8_14-a-2) 
     [4/4]  Rule 1.1 (Required) The program shall contain no violations of the standard C syntax and constraints, and shall not exceed the implementation's translation limits (MISRAC2012-RULE_1_1) 
        A program should not exceed the translation limits imposed by The Standard (c90) (MISRAC2012-RULE_1_1-a-2) 
        A program should not exceed the translation limits imposed by The Standard (c99) (MISRAC2012-RULE_1_1-b-2) 
        A program should not exceed the translation limits imposed by The Standard (c90) (MISRAC2012-RULE_1_1-c-2) 
        A program should not exceed the translation limits imposed by The Standard (c99) (MISRAC2012-RULE_1_1-d-2) 
     [1/1]  Rule 8.10 (Required) An inline function shall be declared with the static storage class (MISRAC2012-RULE_8_10) 
        An inline function shall be declared with the static storage class (MISRAC2012-RULE_8_10-a-2) 
     [14/14]  Rule 1.4 (Required) Emergent language features shall not be used (MISRAC2012-RULE_1_4) 
        The '_Generic' operator should not be used (MISRAC2012-RULE_1_4-a-2) 
        The '_Noreturn' function specifier should not be used (MISRAC2012-RULE_1_4-b-2) 
        The <stdnoreturn.h> header file should not be used (MISRAC2012-RULE_1_4-c-2) 
        The '_Atomic' type specifier and the '_Atomic' type qualifier should not be used (MISRAC2012-RULE_1_4-d-2) 
        The facilities that are specified as being provided by <stdatomic.h> should not be used (MISRAC2012-RULE_1_4-e-2) 
        The '_Thread_local' storage class specifier should not be used (MISRAC2012-RULE_1_4-f-2) 
        The facilities that are specified as being provided by <threads.h> should not be used (MISRAC2012-RULE_1_4-g-2) 
        The '_Alignas' alignment specifier and the '_Alignof' operator should not be used (MISRAC2012-RULE_1_4-h-2) 
        The <stdalign.h> header file shall not be used (MISRAC2012-RULE_1_4-i-2) 
        The '__STDC_WANT_LIB_EXT1__' macro should not be defined to the value other than '0' (MISRAC2012-RULE_1_4-j-2) 
        The 'rsize_t' type should not be used (MISRAC2012-RULE_1_4-k-2) 
        The 'errno_t' type should not be used (MISRAC2012-RULE_1_4-l-2) 
        Do not use following macros: RSIZE_MAX, L_tmpnam_s, TMP_MAX_S (MISRAC2012-RULE_1_4-m-2) 
        Do not use the functions defined in Annex K of ISO/IEC 9899:2011 standard (MISRAC2012-RULE_1_4-n-2) 
     [1/1]  Rule 5.1 (Required) External identifiers shall be distinct (MISRAC2012-RULE_5_1) 
        External identifiers shall be distinct (MISRAC2012-RULE_5_1-a-2) 
     [15/15]  Rule 1.3 (Required) There shall be no occurrence of undefined or critical unspecified behaviour (MISRAC2012-RULE_1_3) 
        Avoid division by zero (MISRAC2012-RULE_1_3-a-2) 
        Avoid use before initialization (MISRAC2012-RULE_1_3-b-2) 
        Do not use resources that have been freed (MISRAC2012-RULE_1_3-c-2) 
        Avoid overflow when reading from a buffer (MISRAC2012-RULE_1_3-d-2) 
        Avoid overflow when writing to a buffer (MISRAC2012-RULE_1_3-e-2) 
        The value of an expression shall be the same under any order of evaluation that the standard permits (MISRAC2012-RULE_1_3-f-2) 
        Don't write code that depends on the order of evaluation of function arguments (MISRAC2012-RULE_1_3-g-2) 
        Don't write code that depends on the order of evaluation of function designator and function arguments (MISRAC2012-RULE_1_3-h-2) 
        Don't write code that depends on the order of evaluation of expression that involves a function call (MISRAC2012-RULE_1_3-i-2) 
        Between sequence points an object shall have its stored value modified at most once by the evaluation of an expression (MISRAC2012-RULE_1_3-j-2) 
        Do not use more than one volatile between two adjacent sequence points (MISRAC2012-RULE_1_3-k-2) 
        Don't write code that depends on the order of evaluation of function calls (MISRAC2012-RULE_1_3-l-2) 
        The address of an object with automatic storage shall not be returned from a function (MISRAC2012-RULE_1_3-m-2) 
        The address of an object with automatic storage shall not be assigned to another object that may persist after the first object has ceased to exist (MISRAC2012-RULE_1_3-n-2) 
        The left-hand operand of a right-shift operator shall not have a negative value (MISRAC2012-RULE_1_3-o-2) 
     [4/4]  Rule 5.4 (Required) Macro identifiers shall be distinct (MISRAC2012-RULE_5_4) 
        The name of a macro should be distinct from the names of its parameters(c90) (MISRAC2012-RULE_5_4-a-2) 
        The name of a macro should be distinct from the names of its parameters(c99) (MISRAC2012-RULE_5_4-b-2) 
        The name of a macro should be distinct from the names of other macros that are currently defined(c90) (MISRAC2012-RULE_5_4-c-2) 
        The name of a macro should be distinct from the names of other macros that are currently defined(c99) (MISRAC2012-RULE_5_4-d-2) 
     [2/2]  Rule 5.5 (Required) Identifiers shall be distinct from macro names (MISRAC2012-RULE_5_5) 
        The names of macros that exist prior to preprocessing should be distinct from the identifiers that exist after preprocessing (c90) (MISRAC2012-RULE_5_5-a-2) 
        The names of macros that exist prior to preprocessing should be distinct from the identifiers that exist after preprocessing (c99) (MISRAC2012-RULE_5_5-b-2) 
     [1/1]  Rule 9.1 (Mandatory) The value of an object with automatic storage duration shall not be read before it has been set (MISRAC2012-RULE_9_1) 
        Avoid use before initialization (MISRAC2012-RULE_9_1-a-1) 
     [4/4]  Rule 5.2 (Required) Identifiers declared in the same scope and name space shall be distinct (MISRAC2012-RULE_5_2) 
        Identifiers declared in the file scope and in the same name space shall be distinct (c90) (MISRAC2012-RULE_5_2-a-2) 
        Identifiers declared in the file scope and in the same name space shall be distinct (c99) (MISRAC2012-RULE_5_2-b-2) 
        Identifiers declared in the same block scope and name space shall be distinct (c90) (MISRAC2012-RULE_5_2-c-2) 
        Identifiers declared in the same block scope and name space shall be distinct (c99) (MISRAC2012-RULE_5_2-d-2) 
     [2/2]  Rule 5.3 (Required) An identifier declared in an inner scope shall not hide an identifier declared in an outer scope (MISRAC2012-RULE_5_3) 
        Identifier declared in a local or function prototype scope shall not hide an identifier declared in a global or namespace scope (MISRAC2012-RULE_5_3-a-2) 
        Identifiers declared in an inner local scope should not hide identifiers declared in an outer local scope (MISRAC2012-RULE_5_3-b-2) 

©Parasoft Corp. - C++test 2020.2.0.20201022B1126 Reporting System